Yes, you can make excellent dairy free cookies with coconut oil — and it is the best butter replacement for cookies if you want a dairy-free bake that still spreads, browns and chews like a proper cookie. Use refined coconut oil if you want no coconut flavour at all, use it solid and at room temperature the way you would use softened butter, swap it 1:1 by weight, and chill the dough for at least 30 minutes before baking. Get those four things right and nobody at the table will guess the cookies are dairy-free.
Coconut oil is the only plant-based fat that behaves even roughly like butter in a cookie. Olive oil is liquid and makes cookies greasy and flat. Shortening holds its shape beautifully but it tastes of nothing at all and leaves a waxy feeling on the tongue. Coconut oil sits in the middle: it is solid at room temperature, it melts at body temperature, it creams with sugar, and it gives a cookie a tender, slightly crisp crumb with a clean finish. It is not a perfect copy of butter — no plant fat is — but in a chocolate chip cookie it is genuinely hard to tell the difference.
This guide covers what coconut oil is and how it compares with butter, the difference between refined and unrefined oil and which one to buy, the exact ratio and the state it should be in when it goes into the bowl, what changes in spread, crispness, browning and flavour, why chilling the dough is not optional, how to convert any butter cookie recipe, and where the swap fails. At the bottom is a full recipe for dairy-free chocolate chip cookies made with coconut oil.
At a Glance: The Quick Fixes
- Use refined coconut oil for a neutral flavour. Unrefined (virgin) coconut oil tastes and smells of coconut; refined oil tastes of nothing.
- Swap 1:1 by weight, not by volume. 100 grams of butter becomes 100 grams of coconut oil. A cup of melted coconut oil weighs far less than a cup of solid butter.
- Use the coconut oil solid and soft, like softened butter. Melted coconut oil makes cookies spread into thin, greasy sheets. If your jar is liquid in a warm kitchen, chill it until it turns opaque and scoopable.
- Chill the dough for at least 30 minutes, ideally an hour. Coconut oil melts at 24°C (76°F), far lower than butter, so the dough must go into the oven cold.
- Add a tablespoon of plant milk per 100 grams of oil. Butter is about 16 per cent water; coconut oil is 100 per cent fat. A splash of milk replaces the missing water and keeps the crumb moist.
- Expect slightly paler cookies. Coconut oil has no milk solids, and milk solids are what brown in butter cookies. A little extra brown sugar helps the colour along.
- Cream the oil and sugar for a full 2 to 3 minutes. Coconut oil creams well when it is solid, but it needs a little longer than butter to trap air.
- Use dairy-free chocolate chips. Most ordinary chocolate chips contain milk, so a cookie made with coconut oil is only dairy-free if the chocolate is too.
- Bake at the same temperature as the butter version — usually 180°C (350°F) — and check a minute or two early, because coconut oil cookies can go from pale to overdone quickly.
- Store the baked cookies in an airtight tin. They keep for 4 to 5 days at room temperature, and the dough freezes brilliantly in scooped balls for up to 3 months.
What Coconut Oil Actually Is — and How It Compares With Butter
The Fat That Is Solid at Room Temperature
Coconut oil is unusual among plant oils because it is solid at cool room temperature. Most plant oils — olive, sunflower, vegetable — are liquid at any temperature you would bake at, which is why they make terrible cookie dough. A liquid fat cannot be creamed with sugar, it cannot hold air, and it cannot hold a cookie's shape while the dough heats up in the oven. Coconut oil, by contrast, is a saturated fat, and saturated fats are solid at room temperature. It looks and scoops like soft butter, it creams with sugar, and it gives a cookie dough real structure.
The catch is the melting point. Coconut oil melts at about 24°C (76°F), while butter melts at about 32 to 35°C (90 to 95°F). That gap of roughly 10 degrees is the single most important fact in this whole guide. In a cool kitchen, coconut oil behaves like butter. In a warm kitchen — anything above 24°C — the jar turns to clear liquid on the shelf, and a cookie dough made with it will spread the moment it hits the oven. Butter has more room for error because it stays solid longer. Coconut oil does not forgive a warm kitchen, which is why the chilling step matters so much.
Butter Is Not Just Fat — and Coconut Oil Is
Butter is about 80 to 82 per cent fat, 16 to 17 per cent water, and 1 to 2 per cent milk solids — the proteins and sugars left over from the cream. Coconut oil is essentially 100 per cent fat. That difference of roughly 16 per cent water is the second most important fact in this guide, and it explains the one adjustment that most people miss.
When you replace 100 grams of butter with 100 grams of coconut oil, you are adding about 18 grams more fat and 16 grams less water than the recipe expects. The extra fat makes the cookie richer and more tender, which is usually welcome. The missing water is the problem: water hydrates the flour, dissolves the sugar, and turns to steam in the oven, which helps the cookie rise and set. A dough with no water from the fat can come out dry, crumbly, and slightly dense, with a texture that feels short rather than chewy.
The fix is simple and it is built into the recipe card: add about 1 tablespoon of liquid — plant milk, water, or even a little extra egg — for every 100 grams of coconut oil you use. That restores the water the butter would have provided, and the dough behaves much more like a butter dough. It is a small adjustment with an outsized effect, and it is the difference between a coconut oil cookie that crumbles and one that chews.
No Milk Solids Means No Browning From the Fat
The third difference is the milk solids. When butter melts in a hot pan or a hot oven, its milk solids brown — that is what gives butter cookies their golden colour and their nutty, toffee-like flavour. It is also why brown butter tastes so good: brown butter is simply butter whose milk solids have been toasted. Coconut oil has no milk solids at all, so it cannot brown the same way. A coconut oil cookie will always be a shade paler than its butter twin, and it will not have that nutty depth of flavour.
Refined or Unrefined: Which Coconut Oil for Cookies?
Walk down the cooking-oil aisle and you will find two kinds of coconut oil, usually side by side, and the labels do not make the choice obvious. Refined and unrefined coconut oil are the same fat with the same melting point — but they taste different, they smell different, and they behave slightly differently in the oven. For cookies, the choice matters.
Refined Coconut Oil: Neutral Flavour, Higher Smoke Point
Refined coconut oil is made from dried coconut flesh that has been pressed, then steamed and filtered to remove the flavour and smell. The refining process strips out the compounds that make coconut oil taste like coconut, leaving a neutral oil that behaves like any other solid fat. It has no coconut scent in the jar, no coconut taste in the finished cookie, and a higher smoke point — around 200 to 230°C (400 to 450°F), depending on the brand — because the impurities that burn at lower temperatures have been removed.
For cookies, refined coconut oil is the default choice, and it is the one the recipe card calls for. It lets the chocolate, the vanilla and the brown sugar do the talking, and nobody eating the finished cookie will guess it was made with coconut oil. If you are baking for people who dislike coconut, or you are converting a butter recipe and you want the result to taste as close to the original as possible, refined oil is the only sensible option.
Unrefined (Virgin) Coconut Oil: Coconut Flavour, Lower Smoke Point
Unrefined coconut oil — sold as "virgin" or "extra virgin" coconut oil — is pressed from fresh coconut flesh and never heated or filtered. It keeps everything the coconut had: the sweet, tropical flavour, the strong coconut smell, and a small amount of natural antioxidants. It is the more expensive jar, the one with the nicer label, and the one most people reach for first, because "virgin" sounds like the better product.
In cookies, unrefined coconut oil does two things. First, it flavours the cookie. The coconut taste survives baking — it softens a little in the oven, but it is unmistakable in the finished cookie, and it gets stronger the next day. Second, it has a lower smoke point — around 175°C (350°F) — because the flavour compounds burn at lower temperatures. That is right at the temperature most cookies bake at. In practice it does not burn or smoke in a cookie — the oil is mixed into a dough, not sitting in a hot pan — but it is worth knowing.
Unrefined oil is the right choice when you actually want the coconut flavour. Coconut cookies, macaroons, tropical-flavoured bakes, and anything where coconut is part of the point — those are where unrefined oil shines. In a chocolate chip cookie, the coconut flavour competes with the chocolate rather than complementing it, and most people find the combination odd rather than delightful. If you love coconut, try it once and decide for yourself. But do not use unrefined oil by accident, expecting a neutral cookie, and then wonder why everything tastes like a beach holiday.
The Honest Recommendation
For everyday dairy-free cookies — chocolate chip, oatmeal, peanut butter, sugar cookies — buy refined coconut oil. It is cheaper, it has a higher smoke point, and it disappears into the recipe. Keep a jar of unrefined oil for the bakes where coconut is the flavour you want, and label the jars clearly if you keep both in the same cupboard, because they look identical once the lids are on.
The Ratio: How Much Coconut Oil Replaces Butter
The ratio itself is simple. The state of the oil is where people go wrong: coconut oil is solid and white in a cool cupboard and clear and runny in a warm one, and the state it is in when you mix it changes the cookie completely.
1:1 by Weight, Not by Volume
The swap is 1:1 by weight: 100 grams of butter becomes 100 grams of coconut oil, 225 grams becomes 225 grams, and so on. Weigh it on kitchen scales, the way you would weigh butter. This is the only reliable way to measure coconut oil, because its volume changes with its state in a way butter's never does.
The volume trap is real. A cup of solid coconut oil, scooped firmly from the jar, weighs about 200 grams. A cup of melted coconut oil weighs about 218 grams. A cup of butter weighs 227 grams. Those are three different numbers for the same "one cup", and if you measure by volume you can be 10 per cent out before you have even started. Scales cost very little and they remove the guesswork entirely.
Solid, Soft or Melted — the State Matters More Than the Amount
Coconut oil can go into a cookie dough in three states, and each one gives a different cookie. Solid and cold, straight from the fridge, it is hard and waxy and will not cream with sugar at all — the sugar just bounces off it. Melted and liquid, it coats the flour instantly, cannot trap any air, and produces a dough that spreads fast and bakes into thin, crisp, greasy cookies. Soft and scoopable, at the consistency of softened butter, it creams properly, traps air, and gives a cookie that spreads slowly and sets with a chewy centre. Soft is the state you want, every time, for a butter-style cookie.
The ideal consistency is the same as softened butter: you can press a finger into it easily and leave a clean dent, it holds its shape when scooped, and it is opaque white rather than clear. If your jar is solid and hard in a cool kitchen, scoop out what you need and leave it on the counter for 20 to 30 minutes to soften — do not microwave it, because microwaving melts the edges while the centre stays hard. If your jar is liquid in a warm kitchen, pour what you need into a bowl and put it in the fridge for 15 to 20 minutes, stirring once or twice, until it turns opaque and thick enough to scoop.
There is one exception to the soft rule: some cookie recipes are designed for melted fat. A chewy brownie-style cookie, or a cookie where the dough is meant to be stirred rather than creamed, can work beautifully with melted coconut oil — the oil coats the flour, the cookie spreads a little more, and the result is dense and fudgy. The blog's guide to coconut oil instead of butter in brownies covers the melted-oil approach in detail, and the same logic applies to a dense, fudgy cookie. But for a classic chocolate chip cookie — the kind you cream, scoop and chill — soft oil is the way.
The Missing Water Adjustment
As the earlier section explained, butter brings about 16 per cent water to a dough and coconut oil brings none. The fix is one tablespoon of liquid per 100 grams of coconut oil, and it is worth being specific about which liquid, because it makes a small difference to the flavour.
Oat milk is the best choice for most cookies: neutral, slightly sweet, and thick enough to add a little body. Almond milk works too, though it is thinner and adds a faint nutty note. Water works in a pinch — it restores the moisture without adding flavour — but the cookie will be a touch less tender than one made with oat milk. Avoid coconut milk in a chocolate chip cookie, because it doubles down on the coconut flavour you were trying to avoid by choosing refined oil.
Add the liquid with the wet ingredients, at the same time as the egg and vanilla. Do not skip it on the grounds that the dough "looks wet enough" — a coconut oil dough always looks wetter than a butter dough, because the fat coats the flour more thoroughly. The dough is not wet; it is fatty. The tablespoon of milk is doing a different job from the fat, and the cookie needs both.
What Changes When You Swap Butter for Coconut Oil
Even with the ratio right, the oil in the right state, and the water added back, a coconut oil cookie is not identical to a butter cookie. Five things change, and it is better to know them in advance than to discover them in the oven.
Spread: More, and Faster
Coconut oil cookies spread more than butter cookies, and they spread faster. The reason is the melting point: at 24°C, coconut oil is already liquid before the oven has even warmed the dough through, so the cookie starts to flatten in the first minute of baking, before the flour has had time to set and the egg has had time to bind. Butter, melting at 32 to 35°C, holds the cookie's shape for a few minutes longer, giving the structure time to form before the fat gives way.
The result, without chilling, is a cookie that spreads thin, merges with its neighbours, and bakes into a crisp, lace-edged disc. Some people like that — a thin, crisp coconut oil cookie is a perfectly good biscuit — but it is not a chocolate chip cookie. Chilling the dough is the main fix, and it is covered in its own section below, because it matters that much.
Two smaller fixes also help. First, use a little more flour than the butter recipe calls for — about 10 to 15 grams extra per 200 grams of flour tightens the dough and slows the spread. Second, bake on a cool tray. If you put a second batch on a tray that is still warm from the first batch, the coconut oil melts the moment the dough touches the metal, and the cookies spread before they even reach the oven. Run the tray under cold water and dry it between batches, or rotate two trays.
Crispness and Chew
A coconut oil cookie, baked well, has a texture that is slightly different from a butter cookie in a way that is hard to describe until you have eaten one. The edges are crisp — often crisper than a butter cookie, because the oil fries the outer edge of the dough as it melts. The centre is tender and slightly chewy, but the chew is shorter and cleaner than a butter cookie's chew. Butter gives a cookie a rich, lingering chew that coats the mouth; coconut oil gives a lighter chew that clears quickly, because the fat melts at body temperature and vanishes on the tongue.
Whether that is better or worse is a matter of taste. People who like a rich, buttery cookie will notice the difference and may find the coconut oil version a little lean. People who find butter cookies heavy will prefer the cleaner finish.
Browning: Paler Cookies, and How to Fix Them
As explained earlier, coconut oil has no milk solids, so a coconut oil cookie browns less than a butter cookie. The edges will still turn golden — the sugar browns on its own — but the top stays pale, and the cookie can look underbaked even when it is fully set. This catches people out: they leave the cookies in for another three minutes waiting for colour, and by the time the tops look golden, the bottoms are overdone and the centres are dry.
The fix is to judge doneness by the edges, not the top. A coconut oil cookie is done when the edges are set and golden and the centre still looks slightly soft and pale. It will firm up on the tray as it cools — the residual heat finishes the centre without drying it out. If you wait for the top to brown, you have waited too long. The recipe card's timing reflects this: pull the cookies at 10 to 12 minutes, when the edges are golden and the centres are still soft, and leave them on the tray for 5 minutes before moving them to a rack.
Flavour: The Coconut Question
With refined coconut oil, there is no coconut flavour at all. The cookie tastes of chocolate, brown sugar and vanilla, and the fat is invisible. This is the answer most people are looking for, and it is the reason the recipe card specifies refined oil. If anyone tells you that coconut oil cookies always taste of coconut, they used unrefined oil, or they used a cheap refined oil that was not properly deodorised.
With unrefined oil, the coconut flavour is present and unmistakable. It is not overpowering — a chocolate chip cookie made with unrefined oil still tastes mostly of chocolate — but the coconut is there in the background, and it becomes more noticeable as the cookie cools and the next day. Some people love it. It pairs well with dark chocolate, with oatmeal, and with anything tropical. It does not pair well with peanut butter, with white chocolate, or with delicate flavours like lemon or almond, where it muddies the taste.
Texture the Next Day
Here is the one change that surprises people most: a coconut oil cookie that was soft and chewy when warm can turn firm and crumbly by the next morning. The reason is the melting point again. Coconut oil is solid below 24°C, so as the cookie cools to room temperature, the fat inside it solidifies. In a butter cookie, the fat also solidifies — but butter stays softer at room temperature, and its water content keeps the crumb moist. A coconut oil cookie, with its fully solid fat and no water from the butter, can feel dry and set the day after baking.
Chilling the Dough: The Step You Cannot Skip
If this guide has one non-negotiable rule, it is this: chill coconut oil cookie dough before baking. With butter, chilling is good practice. With coconut oil, it is the difference between a cookie and a puddle — the dough must go into the oven cold, because cold dough gives the flour and the egg time to set before the fat melts and the cookie spreads.
Why Coconut Oil Dough Needs the Fridge
The science is straightforward. A cookie sets in the oven in a race between two things: the fat melting, which makes the dough spread, and the flour and egg setting, which locks the cookie's shape. In a butter cookie, the fat melts slowly — butter holds its shape until 32°C — so the structure has a head start. In a coconut oil cookie, the fat melts at 24°C, so the spread gets the head start instead. Chilling the dough to fridge temperature, about 4°C, gives the structure back its lead: the dough takes several minutes to warm through in the oven, and by the time the fat melts, the outside of the cookie has already begun to set.
Chilling also lets the flour hydrate fully — the flour absorbs the liquid in the dough slowly, which makes the cookie thicker and chewier — and it lets the flavours meld. A dough chilled overnight tastes noticeably better than one chilled for 30 minutes, though 30 minutes is enough to fix the spread.
How Long to Chill
Thirty minutes is the minimum. An hour is better. Overnight is best, and it is worth planning for if you can — a dough that has rested overnight in the fridge bakes into a thicker, chewier, better-tasting cookie than one chilled for half an hour, and the difference is not subtle. The dough will keep in the fridge for up to 3 days, tightly covered, so you can make it on a Friday and bake fresh cookies all weekend.
Scoop First, Then Chill
The most practical way to chill is to scoop the dough into balls first, put the balls on a lined tray, cover the tray with cling film, and chill the whole tray. Scooping warm dough is easy — the dough is soft and the scoop slides through it. Scooping cold dough is miserable: coconut oil dough sets rock hard in the fridge, and you will be fighting it with a spoon for ten minutes while it warms up and defeats the purpose of chilling it in the first place.
The Method That Works: Converting a Butter Cookie Recipe
Most dairy-free cookie recipes are conversions: a butter recipe with the fat swapped and a few adjustments. Once you know the adjustments, you can convert almost any butter cookie recipe yourself. The method below is the same one the recipe card follows.
Creaming: It Works, But Give It Time
Creaming — beating the fat and sugar together until light and fluffy — is the step that traps air in a cookie dough, and it works with coconut oil almost as well as it works with butter, provided the oil is in the right state. Soft, solid coconut oil creams into sugar in 2 to 3 minutes with an electric mixer, turning pale and fluffy just as butter does. It takes a little longer than butter, because coconut oil is denser and less aerated to begin with, but the result is the same: a light, creamy base that gives the cookie lift.
Two things can go wrong. If the oil is too cold and hard, the sugar will not incorporate — the mixture stays grainy and the oil breaks into lumps. Let the oil soften on the counter first. If the oil is melted or half-melted, it will not trap any air at all — the mixture will look like a shiny syrup, and the cookies will spread flat. If you have melted the oil by accident, put the bowl in the fridge for 15 minutes until the mixture firms up, then cream it again. It is not ruined; it just needs to be cold.
Sugar Choice Matters More
In a butter cookie, the ratio of brown sugar to white sugar is a matter of taste: more brown sugar means a chewier, moister cookie; more white sugar means a crisper one. In a coconut oil cookie, the ratio matters more, because brown sugar is doing two extra jobs. First, it provides the colour that the missing milk solids would have given. Second, it holds moisture — brown sugar is hygroscopic, which means it attracts and holds water — and that moisture is what keeps a coconut oil cookie soft the next day.
The recipe card uses a ratio of about 2 parts brown sugar to 1 part white sugar, which is higher in brown sugar than a standard chocolate chip cookie. That ratio gives a chewy, golden cookie with a good shelf life. If you prefer a crisper cookie, shift the balance toward white sugar — but do not go all white sugar, or the cookie will be pale, dry and short-lived.
Egg and Flour Adjustments
The egg in a cookie recipe does not change when you swap the fat. Use the same number of eggs, at room temperature, beaten in one at a time after the creaming step. The egg binds the dough, adds richness, and helps the cookie set — and in a coconut oil cookie, where the fat sets more slowly, the egg's binding role matters even more. If you are also baking egg-free, that is a different substitution entirely, and the blog's flax egg and aquafaba guides cover it — but for a dairy-free cookie that still uses eggs, nothing changes here.
The flour needs a small adjustment: about 10 to 15 grams extra per 200 grams of flour, or roughly 2 extra tablespoons per batch. The extra flour tightens the dough, slows the spread, and compensates for the fact that coconut oil coats the flour more thoroughly than butter does. It is a small change, and you will not taste it — the cookie will not be floury or dry, because the extra tablespoon of plant milk balances it. But without it, the dough is noticeably softer and the cookies spread noticeably more.
Oven Temperature and Timing
Bake coconut oil cookies at the same temperature as the butter version — 180°C (350°F) for most cookies, on the middle shelf, with the oven fully preheated. Do not lower the temperature to slow the spread: a cooler oven gives the fat more time to melt before the structure sets, which makes the spread worse, not better. A hot oven sets the outside of the cookie quickly and limits the spread. If anything, a coconut oil cookie benefits from an oven that runs a few degrees hot.
Timing is where you need to pay attention. Coconut oil cookies bake a minute or two faster than butter cookies of the same size, because the fat melts sooner and the heat penetrates the dough more quickly. Start checking at 10 minutes for a standard-sized cookie, even if the butter recipe says 12 to 14. The cookies are done when the edges are set and golden and the centres still look soft. Leave them on the tray for 5 minutes — they will firm up as they cool — then transfer them to a wire rack.
Where Coconut Oil Fails in Cookies
Coconut oil is the best dairy-free fat for cookies, but it is not the right fat for every cookie. Some cookies depend on butter for something coconut oil cannot provide — flavour, structure, or a specific texture — and swapping the fat in those recipes produces a disappointing result no matter how carefully you adjust.
Shortbread and Cut-Out Cookies
Shortbread is the clearest failure. A shortbread is essentially butter, sugar and flour in a 3:2:1 ratio, and the butter is the whole point: its flavour is the flavour of the biscuit, its water content creates the crumb, and its milk solids give the golden colour. A shortbread made with coconut oil tastes of nothing — refined oil has no flavour to offer — and the texture is wrong too: crumbly rather than short, greasy rather than rich. It is edible, but it is not shortbread, and it is not worth making.
Cut-out cookies — the rolled, shaped kind you decorate — are almost as bad. They need a dough that holds a sharp edge in the oven, and coconut oil's low melting point works against that: the shapes soften and spread before they set, so your stars become blobs and your gingerbread men lose their arms. Shortening is the better dairy-free fat for cut-out cookies, because it holds its shape at a higher temperature — the blog's guide to shortening instead of butter in cookies covers exactly when and why shortening wins. For drop cookies, coconut oil is king. For shaped cookies, it is the wrong tool.
Cookies That Need Butter's Flavour
Some cookies are butter cookies in the truest sense: the butter is not just the fat, it is the flavour. A Danish butter cookie, a sable, a madeleine-style cookie — these are recipes where the nutty, creamy taste of butter is the entire point, and replacing it with a flavourless fat leaves a cookie that tastes empty. You can add vanilla, you can add salt, you can add brown sugar, but none of them reproduces the flavour of browned milk solids.
The test is simple: if you took the butter flavour out of the cookie, would there be anything left to taste? For a chocolate chip cookie, the answer is yes — chocolate, brown sugar, vanilla. For a butter cookie, the answer is no, so do not make that cookie with coconut oil.
Very Warm Kitchens
Coconut oil has a practical enemy: a hot kitchen. In a kitchen above 26 or 27°C, coconut oil is liquid in the jar, the dough softens within minutes of leaving the fridge, and the cookies spread before they even reach the oven. Butter has the same problem in extreme heat, but butter's higher melting point gives you more working time. Coconut oil gives you almost none.
Dairy-Free Beyond the Fat: The Rest of the Cookie
Swapping the butter for coconut oil makes the fat dairy-free. It does not automatically make the whole cookie dairy-free. Chocolate chips, milk, and a handful of other ingredients can hide dairy, and if you are baking for someone with a dairy allergy, those hidden sources matter.
Check the Chocolate Chips
Most ordinary chocolate chips contain milk. Milk chocolate chips obviously do, but so do many dark chocolate chips — milk fat and milk powder are common ingredients even in chocolate labelled "dark". If the cookie needs to be genuinely dairy-free, the chocolate must be too.
Look for chocolate chips labelled "dairy-free" or "vegan", and read the ingredients list rather than trusting the front of the packet. A good dairy-free dark chocolate chip contains cocoa mass, sugar, cocoa butter and an emulsifier — and nothing else. If the list includes milk fat, milk powder, whey or casein, it is not dairy-free. Dark chocolate with 70 per cent cocoa or higher is the safest bet, and it tastes better in a coconut oil cookie anyway, because its bitterness balances the brown sugar.
Milk in the Dough
The tablespoon of liquid that replaces the butter's water should be a plant milk — oat, almond or soy — not dairy milk, or the cookie is not dairy-free at all. That sounds obvious, but it is easy to reach for the milk in the fridge out of habit, especially if you are converting a recipe that already calls for a splash of milk. Oat milk is the best choice, as the earlier section explained: neutral, slightly sweet, and thick enough to add a little body.
If the recipe you are converting calls for buttermilk, replace it with plant milk plus a teaspoon of lemon juice or vinegar per cup, left to sit for 5 minutes until it curdles slightly — the acid matters, because it reacts with the baking soda. Most cookie recipes call for no milk at all beyond the tablespoon in this guide, so this is rarely needed.
Cross-Checking Labels
Beyond the chocolate and the milk, the other ingredients in a cookie are usually dairy-free by nature: flour, sugar, eggs, vanilla, salt, baking soda. But "usually" is not "always". Some brands of brown sugar are processed with bone char, which matters to strict vegans though not to dairy allergy. Some vanilla extracts contain no dairy but are made in facilities that handle milk. Some baking powders contain no dairy at all. The practical approach is to read the labels on the ingredients you use most, once, and then buy the same brands every time. You do not need to re-check the flour every time you bake — but you do need to check it once.
The Dairy-Free Cookie Checklist
- Refined coconut oil chosen — neutral flavour, no coconut taste.
- Oil weighed, not measured by volume — 1:1 by weight with the butter.
- Oil soft and solid, the consistency of softened butter — not melted, not fridge-hard.
- One tablespoon of plant milk added per 100 grams of oil, to replace the butter's water.
- Extra flour added — about 10 to 15 grams per 200 grams — to tighten the dough.
- Brown sugar doing the heavy lifting — at least half the sugar, preferably two-thirds.
- Dough scooped into balls before chilling, tray covered, fridge for at least 30 minutes.
- Chocolate chips checked — dairy-free, no milk fat or whey on the label.
- Oven fully preheated to 180°C (350°F), trays lined with baking paper and cool.
- Cookies pulled when the edges are golden and the centres still look soft — 5 minutes on the tray before moving to a rack.
Frequently Asked Questions
Can I use coconut oil in any cookie recipe?
Almost any drop cookie recipe — chocolate chip, oatmeal, peanut butter, sugar cookies — converts well with the adjustments in this guide: 1:1 by weight, soft oil, a tablespoon of plant milk per 100 grams of oil, a little extra flour, and a good chill. Shortbread, cut-out cookies and cookies that depend on butter's flavour do not convert well, and shortening is the better dairy-free fat for those. If the cookie's flavour comes from chocolate, spice, nuts or brown sugar rather than from butter, coconut oil will work.
Will my cookies taste like coconut?
Not if you use refined coconut oil. Refined oil is flavourless — the refining process removes the compounds that taste and smell of coconut, and the finished cookie tastes of chocolate, brown sugar and vanilla. Unrefined (virgin) coconut oil does flavour the cookie, and the taste gets stronger the next day. If you want no coconut flavour at all, buy refined oil and check that the jar says "refined" on the front. If you love coconut, use unrefined oil in a cookie where the flavour belongs, like a coconut cookie or a macaroon.
Why did my coconut oil cookies spread into one big sheet?
Almost always, the dough was too warm. Coconut oil melts at 24°C, so a dough that was never chilled — or that warmed up while you scooped it — will spread the moment it hits the oven, before the flour and egg have time to set. The fix is to chill the scooped dough balls for at least 30 minutes, bake on a cool tray, and work in small batches in a warm kitchen. The other common cause is melted oil: if the coconut oil was liquid when it went into the bowl, the dough never had any structure to hold it. Use the oil soft and solid, like softened butter.
Are coconut oil cookies healthier than butter cookies?
Not in any meaningful way. Coconut oil is about 90 per cent saturated fat — higher than butter — and a coconut oil cookie has roughly the same calories as a butter cookie of the same size. Coconut oil cookies are dairy-free, which matters enormously if you cannot eat dairy, and they are plant-based, which matters if you eat vegan. But they are still cookies: sugar, flour, fat and chocolate.
Can I freeze coconut oil cookie dough?
Yes, and it freezes brilliantly — better than most butter doughs, because coconut oil sets so firmly in the freezer. Scoop the dough into balls, freeze them on a lined tray until solid, then transfer them to a freezer bag or container. They keep for up to 3 months. Bake straight from frozen with 2 extra minutes in the oven, and do not thaw them first. Baked cookies freeze well too: cool them completely, freeze in a single layer, then bag them. Thaw at room temperature for 20 minutes, or warm them for 10 seconds in the microwave.
The Last Word
Coconut oil is the best dairy-free fat for cookies because it is the only plant fat that behaves like butter where it matters: solid at room temperature, creamable with sugar, and capable of giving a cookie a crisp edge and a chewy centre. The rules are simple: refined oil for a neutral flavour, 1:1 by weight, soft not melted, a tablespoon of plant milk to replace the butter's water, a little extra flour, and a good long chill. Get those right and the cookies will be good enough that nobody asks what is missing — because nothing is.
A quick note before you bake: this recipe was not kitchen-tested in a test kitchen for this article. It is written with standard home-baking ratios as a starting point, so use the temperatures, timings and checks in the guide above, and adjust for your own kitchen and oven.
Dairy-Free Chocolate Chip Cookies Made With Coconut Oil
Makes: about 24 cookies | Prep: 20 minutes + 1 hour chilling | Bake: 10 to 12 minutes per batch | Cool: 15 minutes | Total: about 2 hours
Ingredients
- 280 g plain flour (all-purpose flour)
- 1 teaspoon baking soda
- ½ teaspoon fine salt
- 170 g refined coconut oil, soft and solid (not melted)
- 150 g soft light brown sugar
- 75 g caster sugar
- 1 large egg, at room temperature
- 2 tablespoons oat milk (or almond or soy milk)
- 2 teaspoons vanilla extract
- 200 g dairy-free dark chocolate chips (at least 70% cocoa), checked for no milk on the label
Steps
- Whisk the flour, baking soda and salt together in a medium bowl and set aside.
- In a large bowl, beat the soft coconut oil with the brown sugar and caster sugar for 2 to 3 minutes with an electric mixer, until pale and fluffy.
- Beat in the egg, then the oat milk and vanilla, until combined. Scrape down the sides of the bowl.
- Add the dry ingredients to the wet ingredients and stir with a spatula until just combined — a few streaks of flour are fine. Fold in the chocolate chips.
- Scoop the dough into 24 balls, about 2 tablespoons each, and place them on a lined baking tray. Cover with cling film and chill in the fridge for at least 1 hour (overnight is even better).
- Preheat the oven to 180°C (350°F). Line two baking trays with baking paper.
- Place the chilled dough balls on the prepared trays, about 5 centimetres apart. Press each ball down very slightly to flatten the top.
- Bake for 10 to 12 minutes, until the edges are set and golden and the centres still look soft and slightly pale.
- Leave the cookies on the tray for 5 minutes to firm up, then transfer them to a wire rack to cool completely.
Baker's Tip: For an even chewier cookie, chill the dough overnight — the flour hydrates fully and the flavours deepen. And if your kitchen is warm, keep the tray of scooped dough in the fridge and bake one tray at a time, returning the rest to the fridge between batches.
Storage: Keep the baked cookies in an airtight tin at room temperature for up to 5 days — a slice of bread in the tin keeps them soft. The scooped dough balls freeze well for up to 3 months; bake straight from frozen with 2 extra minutes in the oven. Baked cookies also freeze for up to 2 months; thaw at room temperature for 20 minutes.
Food safety and allergy note: This recipe is dairy-free only if every ingredient is dairy-free — check the chocolate chips and the plant milk labels for milk, milk fat, whey or casein. Coconut is classed as a tree nut by some food labelling authorities, so anyone with a tree nut allergy should check with their doctor before eating coconut oil cookies. The cookies contain wheat (flour) and egg. Let the cookies cool fully before storing, and do not leave the dough at room temperature for more than 2 hours.