How to Make Cookie Dough Buttercream Frosting
Cookie dough buttercream is a brown sugar buttercream that tastes like the dough of a chocolate chip cookie, with soft flour and mini chocolate chips folded through for chewy texture. It frosts cupcakes, layer cakes, cookies, and brownies, and pipes well enough for swirls and borders once it is chilled briefly. The catch is the flour: plain flour is raw, and raw flour can carry bacteria, so you heat-treat the flour before it ever meets the buttercream. Do that first and you have a safe, spreadable frosting that genuinely tastes like cookie dough rather than plain sugar-butter. You will also want butter at room temperature, brown sugar, a pinch of salt, and mini chips rather than full-size ones, since the small chips travel through a piping tip without clogging it.
What You'll Need
- 115 g (1 cup, lightly spooned and levelled) plain flour, for heat-treating
- 170 g (¾ cup) unsalted butter, softened to about 18–20°C (65–68°F)
- 150 g (¾ cup packed) soft light or dark brown sugar
- 1 teaspoon vanilla extract
- ¼ teaspoon fine salt (omit or halve if using salted butter)
- 240 g (2 cups) icing sugar, sifted
- 2–3 tablespoons milk or cream, at room temperature
- 60–80 g (⅓–½ cup) mini chocolate chips
- Baking tray, parchment paper, a fine sieve, and a stand mixer or hand mixer with a paddle or beaters
Step-by-Step
- Heat-treat the flour. Spread the flour on a parchment-lined baking tray in an even layer no thicker than 1 cm. Bake at 180°C (350°F) for 5–7 minutes, stirring once at the halfway point, until it smells faintly toasted and reaches 74°C (165°F) on an instant-read thermometer. This step is not optional: raw flour is a raw ingredient, and heat-treating it is what makes the finished buttercream safe to eat without baking it.
- Cool the flour completely. Tip it onto a plate or a second tray and leave it for at least 15–20 minutes. Warm flour will melt the butter on contact and give you a greasy, soupy frosting. If you are in a hurry, spread it thin and put it in the fridge for 10 minutes, then break up any lumps with your fingers.
- Beat the butter and brown sugar. In the mixer bowl, beat the softened butter on medium speed for 2–3 minutes until smooth and slightly pale. Add the brown sugar and beat for a further 3–4 minutes, scraping the bowl down twice. You are not creaming for volume like a cake; you are dissolving the sugar crystals into the fat so the frosting is not gritty. The mixture should feel smooth when you rub a little between your fingers.
- Add the vanilla and salt and beat for 30 seconds. Salt matters more here than in plain buttercream because brown sugar and flour both mute flavour; without it the frosting tastes flat and sweet.
- Add the icing sugar gradually. Turn the mixer to low and add the sifted icing sugar in three additions, mixing each one in fully before the next. Add the milk one tablespoon at a time between additions, starting with two. Stop and scrape the bowl and beater at least twice.
- Check the consistency. After the last addition, beat on medium-high for 1–2 minutes until light and spreadable. It should hold a soft peak on the beater but slide off a spoon slowly. Add the remaining milk a teaspoon at a time if it is stiff or crumbly; add icing sugar a tablespoon at a time if it is loose.
- Fold in the flour and chocolate chips. Take the bowl off the mixer. Add the cooled heat-treated flour and the mini chips and fold with a spatula until just combined, 10–15 strokes. Do not beat them in with the mixer — overworking the flour makes the frosting taste pasty and gluey, and the beaters will smash the chips.
- Taste and adjust. Taste a small amount. If it is too sweet, add a pinch more salt; if it tastes flat, add a quarter teaspoon of vanilla; if it is too thick to pipe, a teaspoon of milk. Adjust while the frosting is still in the bowl, never after it is on the cake.
- Chill briefly before piping. Refrigerate for 15–20 minutes, then stir once to bring it back to an even texture. This firms it enough for a 1M or star tip to hold a swirl. Spread it on a cooled cake straight away if you are not piping.
Common Mistakes
The most frequent failure is skipping or rushing the flour step. Flour that is still warm when it hits the butter will melt it and leave the frosting slick and separated; flour that is not heat-treated makes the frosting a raw-ingredient food. Both are avoidable by baking and cooling fully.
Second is using cold butter or cold milk. Cold butter stays lumpy no matter how long you beat it, and cold liquid seizes the icing sugar into a stiff paste. Let everything sit out for 30–60 minutes before starting.
Third is overbeating after the flour goes in. The flour develops gluten the moment it is worked hard, and a frosting that has been beaten for two minutes after folding tastes like wallpaper paste. Fold, do not beat.
Fourth is using full-size chocolate chips. They are too large to pass through a piping tip and will jam it; use mini chips, or chop larger ones roughly.
Tips
- Make the heat-treated flour in a double batch and store it in a sealed jar for up to two weeks. It saves the cooling wait next time.
- Toast the flour a shade darker than you think you need. The toasted note is what makes the frosting read as cookie dough rather than raw flour.
- Dark brown sugar gives a deeper molasses flavour; light brown sugar gives a milder, more crowd-pleasing result.
- For a firmer frosting for warm rooms or intricate piping, replace one tablespoon of the milk with a tablespoon of double cream and chill the bowl and beater for 10 minutes before beating.
- If you want the frosting to taste more like baked cookie, add a quarter teaspoon of ground cinnamon and a pinch of nutmeg with the salt.
- This frosting holds at cool room temperature for a few hours. For longer storage, refrigerate it in a sealed container for up to 3 days, then bring it to room temperature and beat briefly before using.
Troubleshooting
It looks curdled or separated. The butter was too cold or the milk went in too fast. Set the bowl over a warm water bath for 20 seconds, then beat hard; repeat in short bursts until it comes together, then drop the speed and finish.
It is grainy with visible sugar crystals. The brown sugar was not beaten into the butter long enough, or the sugar was old and hard. Beat for another 3 minutes; if it still feels gritty, add a teaspoon of milk and beat again.
It is too stiff to spread. Add milk one teaspoon at a time, beating well after each. Two teaspoons can change a crumbly frosting into a spreadable one, so go slowly.
It is too soft or sliding off the cake. Chill the bowl for 20 minutes and beat again. If it is still loose, beat in icing sugar one tablespoon at a time; if the kitchen is hot, chill the frosted item for 20 minutes to set the surface before serving.
It tastes floury or pasty. The flour was under-toasted or over-folded. A few extra drops of vanilla and a pinch of salt mask a mild flour taste; if it is genuinely pasty, the batch is overworked and better used as a filling between layers than as a piped finish.
Frequently Asked Questions
Can I eat this buttercream without baking it?
Yes, provided the flour has been heat-treated to 74°C (165°F) and cooled before use, as described in step 1. Do not eat frosting made with untreated raw flour.
Can I use a different flour?
Plain (all-purpose) flour is standard. Self-raising flour will taste slightly of baking powder, and strong bread flour is too glutenous for this. Heat-treat any flour you use by the same method.
Can I make it ahead of time?
Yes. Make it up to 3 days ahead, store it covered in the fridge, and let it come to room temperature before beating it smooth again. It can also be frozen for up to 2 months; thaw overnight in the fridge.
Do I have to use brown sugar?
Brown sugar is what creates the cookie-dough character, so substituting white sugar gives a much plainer result. If you only have white sugar, add a teaspoon of molasses with the vanilla.
How much frosting does this make?
This makes enough to generously frost 12 cupcakes or fill and cover a two-layer 20 cm (8 inch) round cake. It is enough for a light crumb coat plus a final layer, but not enough for tall, heavily piped decorations.
Why did my chocolate chips sink or tear the frosting?
The frosting was too warm when the chips went in, or the chips were too large. Chill the frosting for 10 minutes before folding in mini chips, and fold gently rather than stirring hard.