Cookie Dough Buttercream Frosting Recipe

By Ivy McAllister Updated: October 04, 2026

Indulge in this safe-to-eat Cookie Dough Buttercream Frosting that combines egg-free chocolate chip dough with a fluffy, cloud-like vanilla frosting.

Cookie Dough Buttercream Frosting

About Ingredients Instructions Servings Tips Substitutes

Why This Recipe Works:
  • Pathogen Elimination: Heat-treating the flour denatures harmful bacteria while maintaining the structural integrity needed to mimic raw dough.
  • Moisture Control: Cornstarch acts as a gentle moisture-binder, preventing the flour from absorbing too much liquid and turning gummy in the buttercream.
  • Stable Emulsion: Whipping the buttercream for a full five minutes builds a stable fat-and-air matrix that suspends the heavy dough chunks without collapsing.

I still remember scraping the beaters of my grandmother's hand mixer, my thumb catching on the sharp metal edge as I tried to rescue every last speck of raw chocolate chip dough before she could wash it.

That forbidden, gritty sweetness was always superior to the actual baked cookie.

To make this safe and structurally sound for piping onto a Deliciously Moist Chocolate Layer Cake, we have to heat-treat our flour to neutralize pathogens while ensuring the fat-to-sugar ratio doesn't cause our buttercream to break or turn into a greasy puddle.

It is a delicate balance.

We use pasteurized egg whites to bind our safe dough, which provides the necessary protein matrix without any of the salmonella risks associated with raw eggs.

If you prefer to skip the eggs entirely, a simple slurry of milk and cornstarch works beautifully as a substitute.

When you assemble the final frosting, you will break the chilled dough into small, quarter-sized pieces and gently fold them into a base of whipped butter and confectioners' sugar—much like the method used for our Molten Cookie Dough Cupcakes—ensuring every single bite has that distinct, nostalgic chew.

Cookie Dough Buttercream Frosting

  • Cuisine American
  • Category Dessertss, Frosting
  • Prep Time
  • Cook Time
  • Servings 4-5 cups
  • Calories 320 calories
  • Rating 5.0 9
  • Tags Cookie Dough, Buttercream, Frosting, Cake Topping

Ingredients

  • For the Cookie Dough:
  • 2 and 1/4 cups (281g) heat-treated all-purpose flour (spooned & leveled)
  • 2 and 1/4 teaspoons cornstarch
  • 3/4 teaspoon salt
  • 3/4 cup (12 Tbsp; 170g) unsalted butter, softened to room temperature
  • 1 cup (200g) packed light or dark brown sugar
  • 1/3 cup (80ml) pasteurized egg whites, at room temperature
  • 2 teaspoons pure vanilla extract
  • 1 cup (180g) mini semi-sweet chocolate chips
  • For the Buttercream:
  • 1 cup (16 Tbsp; 226g) unsalted butter, softened to room temperature
  • 2 teaspoons pure vanilla extract
  • 1 Tablespoon heavy cream or milk
  • 1 teaspoon salt
  • 3 cups (360g) confectioners’ sugar, sifted

Directions

  1. In a medium-sized bowl, vigorously whisk together the heat-treated flour, cornstarch, and salt until uniform, then set this dry mixture aside.
  2. Secure your stand mixer with the paddle attachment and beat 3/4 cup of softened butter on medium speed for about 2 minutes until it looks completely smooth and creamy.
  3. Pour in the brown sugar and continue beating on medium for 3 full minutes, scraping the bottom and sides of the bowl with a silicone spatula to ensure a fluffy, aerated texture.
  4. Pour the room-temperature pasteurized egg whites and vanilla extract into the creamed butter, mixing for 2 minutes until the liquid is fully emulsified.
  5. Turn the mixer to low and add half of your prepared flour mixture, mixing for just 15 seconds before tossing in the remaining half and mixing until the flour pockets disappear.
  6. Detach the bowl and use a rubber spatula to fold in the mini chocolate chips, then pop the completed dough into the fridge or freezer to firm up while you tackle the frosting.
  7. To make the buttercream, beat the remaining 1 cup of butter in a clean bowl on medium speed for 3 minutes until it is pale and incredibly light.
  8. Add the vanilla, heavy cream, and salt, mixing briefly to combine, then scrape down the sides of your bowl to keep the mixture consistent.
  9. Dump in the sifted confectioners' sugar, stir on low speed for 15 seconds to avoid a sugar cloud, then crank the speed to medium-high and whip for 4 to 5 minutes until voluminous.
  10. Retrieve your chilled cookie dough, break it into small, quarter-sized chunks, and mix them into the buttercream on medium speed just until they are evenly distributed.

Notes

Keep these essential tips in mind to ensure your cookie dough frosting turns out perfectly smooth and safe to eat:

  • Salt Brand Recommendation: We recommend using Diamond Crystal kosher salt (1 teaspoon = 1/2 teaspoon table salt) to balance the intense sweetness of the brown sugar without adding a harsh chemical bite.
  • Science-Backed Rationale: Heat-treating the flour is non-negotiable; baking it at 350°F (177°C) for 5-8 minutes until it reaches 160°F (71°C) kills bacteria and breaks down raw starches so they don't taste chalky.
  • Temperature Warning: Ensure your butter is truly at room temperature (around 65-68°F) before whipping; if it is too warm or greasy, the emulsion will collapse, leaving you with a runny, separated frosting that cannot hold the heavy dough chunks.
  • Storage Note: Keep this frosting in an airtight container in the fridge for up to a week; before using, let it sit on the counter for an hour and give it a quick whip with a splash of milk to restore its spreadable texture.
  • Egg-Free Alternative: If you want to avoid egg whites entirely, whisk 2 tablespoons of cornstarch into 1/3 cup of whole milk to act as your binder for the cookie dough portion.

Serving Suggestions

This rich, textured frosting pairs beautifully with a variety of baked goods, offering a delightful contrast of smooth buttercream and chewy dough:

  • Spread thickly over a rich, dark chocolate cake where the salty-sweet dough cuts through the bitter cocoa notes.
  • Pipe onto classic vanilla cupcakes using a wide, round tip to showcase the contrasting textures of smooth buttercream and chewy chocolate chips.
  • Sandwich between two Chewy Chocolate Chip Cookies for an over-the-top cookie-on-cookie experience.
  • Use as a decadent filling for a rolled sponge cake, adding a surprising, dense chew to the light, airy cake layers.
  • Dollop onto warm Fudge Brownie Pie slices to let the buttercream melt slightly while the dough chunks remain delightfully intact.

Storage and Reheating

Storing a frosting packed with actual cookie dough requires a bit of care, as the flour-based chunks will naturally absorb moisture from the surrounding buttercream over time. If you leave it in the refrigerator, make sure it is sealed in a heavy-duty container to prevent it from picking up any stray fridge odors. It will keep beautifully for up to one week, though the chocolate chips may develop a slight chill-induced hardness.

For longer storage, this frosting freezes exceptionally well for up to three months. To prevent freezer burn, press a sheet of plastic wrap directly onto the surface of the buttercream before sealing the lid of your container. The fat content in the butter acts as a protective shield, preserving the delicate vanilla notes during its deep freeze.

When you are ready to use the frozen frosting, transfer it to the refrigerator to thaw slowly overnight. Do not attempt to microwave it or apply direct heat, as this will melt the butter fat and permanently break the emulsion, turning your fluffy frosting into a greasy soup.

Once thawed, transfer the mixture back to your stand mixer and beat it on medium speed for 30 seconds to re-incorporate the air. If the mixture looks a tad stiff or curdled, simply beat in a splash of heavy cream or whole milk to restore its luxurious, spreadable consistency.

Ingredient Substitutes

If you need to adapt this recipe for dietary preferences or pantry limitations, these tested substitutions will keep your frosting structurally sound:

  1. Pasteurized Egg Whites: Swap 1/3 cup of pasteurized egg whites for 1/3 cup of whole milk whisked with 2 tablespoons of cornstarch. This egg-free slurry must be thoroughly whisked to prevent starch clumps before mixing into the creamed butter.
  2. Unsalted Butter: Replace 1 cup of unsalted butter with 1 cup of high-quality vegan block butter (such as Miyoko's). Ensure the plant-based butter is slightly cooler than room temperature, as it tends to melt faster under the friction of the mixer blades.
  3. Confectioners' Sugar: Substitute 3 cups of confectioners' sugar with 3 cups of powdered coconut sugar for a warm, caramel-like flavor. You must sift this twice, as coconut sugar tends to clump more aggressively than cane sugar.
  4. Mini Semi-Sweet Chocolate Chips: Swap 1 cup of mini semi-sweet chips for 1 cup of finely chopped dark chocolate feves or cacao nibs. If using cacao nibs, reduce the quantity to 3/4 cup to balance their intense, bitter crunch.
  5. Heavy Cream: Replace 1 tablespoon of heavy cream with 1 tablespoon of canned coconut cream. Whisk the coconut cream thoroughly before measuring to ensure the fat and liquid are fully integrated.

There is something incredibly satisfying about a frosting that doesn't hold back on texture or nostalgia. Whether you are piping it onto cupcakes or eating it straight from the spatula, this is the ultimate treat for the inner child in all of us.

Ivy McAllister
Hi, I'm Ivy McAllister
Recipe Developer & Food Lover

I believe great food shouldn't be complicated. Every recipe on Recipevolt is tested in my home kitchen with real ingredients. I share honest notes on what works, what doesn't, and how to make it foolproof.