Cookie Dough Frosting is the Best Frosting

Disclosure: I may earn a commission from purchases you make through affiliate links in this post at no additional cost to you.

Cookie dough frosting is the best frosting! It’s made from edible cookie dough that is softened just enough to make it pipeable.

Cookie Dough Frosting being piped onto a cupcake

Did you know that you can easily create your own cookie dough frosting out of any cookie dough? The next time that you bake cookies and find yourself licking the beater, take a moment to think about how incredible that cookie dough would taste on top of a cake or cupcake.

Is Cookie Dough Safe to Eat?

Chocolate chip cookie dough on a spoon

While so many of us eat cookie dough straight from the bowl (myself included), there are health risks involved with eating raw cookie dough. Raw eggs could potentially contain salmonella and uncooked flour could be tainted with E. coli.

To be safe, when making cookie dough frosting, it’s best to use cookie dough that is made to be eaten.

To make edible cookie dough:

  • Remove leavening agents like baking soda and baking powder from the cookie recipe.
  • Remove eggs from the recipe.
  • Heat the flour in the microwave in 15 second bursts until it reaches 160 F/70 C. (I’m not a food scientist, but I’ve heard that kills the E. coli.)
  • Add milk to replace the moisture from the egg.

How to Make Cookie Dough Frosting

Milk being poured into cookie dough
To make cookie dough frosting, start with your favorite edible cookie dough (have you tried my peanut butter cookie dough?), and slowly mix in milk until it is smooth but still stiff enough to pipe.

Cookie dough frosting on a red spatulaTip: When you make the edible cookie dough, don’t put in any mix-ins if you plan to pipe the frosting. You won’t be able to pipe the frosting if it contains large chocolate chips. You can always sprinkle the chocolate chips, nuts, or dried fruit on top of the frosting once it’s piped.

How to Use Cookie Dough Frosting

Cookie cupcakes with cookie dough frosting and a cookie on top

I like to pipe cookie dough frosting onto cupcakes using a Wilton 1M tip. The recipe below makes enough frosting to cover one dozen cupcakes with a small swirl.

Chocolate chip cookie dough frosting is perfect on plain vanilla cupcakes, chocolate cupcakes, or cookie cupcakes (shown above).

However, there are so many other possibilities. Imagine snickerdoodle cookie dough frosting on pumpkin cupcakes or shortbread cookie dough frosting on apple cupcakes.
Cookie dough cupcakes on a pile of cookies

If you prefer to spread frosting rather than to pipe it, cookie dough frosting also spreads really well. Above, you can see how I used it in my cookie dough cupcakes. (There’s a hidden ball of cookie dough inside the cupcakes in addition to the cookie dough frosting on top!)

You can also use cookie dough frosting to decorate a cake like the cookie dough cake below from Dessert for Two. Triple my frosting recipe if you want to frost a two layer 8-inch cake.

Cookie dough cake on a cake stand

Another great use for cookie dough frosting that I love is cookie dough brownies like these amazing-looking ones from Recipe Girl!

close up of a brownie with chocolate chip cookie dough on top

Does Cookie Dough Frosting Need to Be Refrigerated?

The cupcakes on white background frosted with cookie dough frosting

To be safe, I suggest refrigerating cookie dough frosting. Remember that the frosting contains uncooked milk.

Bring the frosted dessert to room temperature before serving.

Best Tips for Making Cookie Dough Frosting

Cookie Dough Frosting in a bowl with a red spatula

  • Don’t use any mix-ins in the frosting if you plan to pipe it.
  • Add milk a little bit at a time until the frosting is the consistency that you like.
  • If the cookie dough recipe calls for melted butter, let the frosting sit for a few minutes before you pipe or spread it. During this time, the flour will absorb some of the liquids. If you don’t do this step, the frosting may seem a little greasy.
  • Experiment with making cookie dough from your favorite cookie recipes. (If you’re a peanut fan, my peanut butter cookie dough is a good place to start.)
Did you make this recipe? Leave a review!
Cookie Dough Frosting being piped onto a cupcake
Print Pin
4.78 from 9 votes

Cookie Dough Frosting

If you love licking the beater when you make cookies, you'll love cookie dough frosting!
Course Dessert
Cuisine American
Prep Time 5 minutes
Total Time 5 minutes
Servings 12 servings
Calories 288kcal
Author Stefani


  • 2 cups all-purpose flour
  • 1/2 teaspoon salt
  • 3/4 cup unsalted butter melted
  • 1 cup packed brown sugar
  • 1/2 cup white sugar
  • 1 tablespoon vanilla extract
  • 1/2 cup milk


  • Heat flour in the microwave in 15 second intervals, stirring after each interval, until a thermometer placed into the center of the flour reads 160 F/70 C.
  • Mix flour with the rest of the ingredients in a big bowl. 
  • Let the frosting sit for a few minutes while the flour absorbs some of the melted butter.
  • Pipe or spread onto the dessert of your choice.


If chocolate chip cookie dough isn't your favorite, you can make cookie dough frosting from any cookie recipe:
  • Remove any baking soda and baking powder from the recipe. Since you aren't baking the cookie dough, you don't need the leavening agents. 
  • Remove any eggs from the recipe. The raw eggs could give you salmonella.
  • Heat the flour in microwave in 15 second bursts until it reaches 160 F/70 C to kill off the E. coli. 
  • Remove any mix-ins from the recipe (otherwise it won't be pipeable).
  • Add milk a little bit at a time until it is smooth and pipeable.


Calories: 288kcal | Carbohydrates: 42g | Protein: 2g | Fat: 12g | Saturated Fat: 7g | Cholesterol: 31mg | Sodium: 108mg | Potassium: 63mg | Sugar: 26g | Vitamin A: 370IU | Calcium: 33mg | Iron: 1.1mg
Have you tried this recipe?Click here to leave a comment and rating!
Cookie Dough Frosting is the Best Frosting

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating


  1. natashasays:

    what a fantastic idea, this looks amazing!! can’t wait to try

  2. Sommersays:

    5 stars
    This is genius! Where has this been all my life??

  3. Andie Thuesonsays:

    5 stars
    Cookie Dough Frosting sounds simply divine!

  4. Patricia @ Grab a Platesays:

    5 stars
    Ohmygoodness! I’ve never heard of such a delightful thing! How good is this! And so creative, too!

  5. Justine Howellsays:

    5 stars
    OH MY so good, a new fave!

  6. Karasays:

    5 stars
    My kids love cookie dough, so they would go crazy for this. I love that you thinned it down so that it could be piped. It’s much prettier that way!

  7. Rachael Yerkessays:

    5 stars
    best frosting ever!!!! Seriously, this is one I’m obsessing over

  8. Annsays:

    I think this sounds awesome! People who are worried of getting sick from flour need to live a little, IMO.

  9. Erinsays:

    I think that they might be thinking about some of the stories where expired cake mixes and pancake mixes contain mold that have made people ill. But that’s the same with any ingredients, you want to make sure they’re fresh. I’ve never heard of raw flour making anyone sick…

  10. Zenthiasays:

    I just put the flour onto parchment paper on a cookie sheet and bake it for 20 minutes at 350 degrees before I use it in the cookie dough frostings :)

  11. Ericasays:

    What a great idea! I will have to try this sometime! I’m not worried about the flour being in the dough at all. Thanks for sharing!

  12. Anonymoussays:

    Hang on a minute… isn’t this basically buttercream with flour added??? And as for raw egg making you sick doesn’t that only apply if the eggs are bad? Mayonnaise is mostly made up of raw egg, (although most commercial brands admittedly contain pasteurized egg). Meringue is made with raw egg and isn’t always cooked through. It’s the very young and old who need to watch their raw egg intake. (Just my knowledge from reading stuff. I don’t claim to be an expert. :-)

    • Rachel R.says:

      No; it doesn’t only apply if the eggs are bad. It applies if the eggs are carrying salmonella, which is an illness not uncommon in battery chicken farms (where hens are literally crowded in so tightly they can’t even lift their wings).

      But people regularly ate raw egg before we switched to this method of farming, so if you have an egg source you can trust – like a good, old-fashioned local farm – it’s not likely to be a real issue. Personally, I won’t eat anything with raw *commercial* egg in it, though.

  13. Anonymoussays:

    Thanks to everyone for the warnings about flour and eggs and salmonella…. But I totally think this is a great idea! I want to try it, only one concern: seems it might be too rich. But I’m not complaining, I’d eat a whole batch of raw cookie dough (and throw it up later, but hey, who cares? ;D)

  14. Anonymoussays:

    That is exactly what I was thinking when I read this because of the whole flour issue. Plus, the sugar would make the frosting even sweeter.

  15. Leoniesays:

    This is genius, really, such a wonderful and creative idea!

  16. Anonymoussays:

    you could always toast the flour a bit to get rid of the ‘raw’ state. might even taste toastier.

  17. megsays:

    my husband and i do that *all*the*time*

    i don’t think we’ll ever stop!!

  18. Lolasays:

    That’s like licking (raw) flour?! Sorry it doesn’t work for me!

  19. MBA Galsays:

    I just have to say this- you are amazing. That is all.

  20. Betsysays:

    This reminds my of when my husband and I would literally make cookie dough without the eggs, sit on the couch, and eat the entire bowl.

    I should be embarrassed…but I am not.

  21. [Ness] Six One and Then Somesays:

    I never considered combining the two, but I suppose it makes sense that you, who brought us the cupcake/icecream challenge, would also think to combine the two mediums. What’s next – cupcake pies? Actually, that’s a really good idea… I’d better get onto that!

  22. Debra Kapellakissays:

    The thought never entered my head. I sure am glad you shared this.

  23. Cupcake and Talksays:

    I am going to try this the next time I make cupcakes. Thank you for the tips.

  24. Erin @ The Spiffy Cookiesays:

    Oooo I might love you for this

  25. Helensays:

    Oh my goodness!!! x

  26. Ashleysays:

    a-hwhaaat?? this is amazing! i’ve never heard of such a thing! okay cookie dough frosting is about to change my life, i think…

Show All Comments