I made this cookie cake for the 4th of July one year because I completely forgot to buy a dessert and only realized it the night before. I had sugar cookie dough ingredients, some leftover M&Ms, and a questionable amount of red and blue sprinkles from a baking phase I went through months earlier. It ended up being the dessert people remembered more than anything else on the table.
Why This Recipe Works
Here’s the thing: cookie cake works because it sits right between a cookie and a cake, so nobody has to choose. What I figured out is that people love something soft in the center, slightly crisp on the edges, and loaded with candy on top. The frosting and sprinkles don’t just decorate it—they basically hide how simple it is underneath.
Ingredient Notes
I stick with unsalted butter so I can control the salt level, especially since M&Ms already add sweetness. Brown sugar gives it that soft chewiness, and a little extra vanilla makes it taste more bakery-style than homemade shortcut. I’ve tried skipping cornstarch before, and the texture got noticeably less soft, so I keep it in.
How to Make It
I start by creaming butter and sugars until it looks fluffy and slightly pale. Then I add the egg and vanilla, mixing just until combined. The dry ingredients go in next, and I stop mixing as soon as the dough comes together because overmixing makes it dense.
Once the dough is ready, I press it into a round pan. I’ve used a pizza pan and even a cast iron skillet, and both worked fine as long as I watched the edges closely. M&Ms and sprinkles go on top before baking so they slightly melt into the surface.
I bake it until the edges are golden but the center still looks slightly underdone. That part is important—if it looks fully done in the oven, it’ll be too dry after cooling.
Things I Learned the Hard Way
Don’t wait too long to cut it. I did once and the edges turned too firm to slice cleanly. Also, don’t overload frosting unless you want it overly sweet—it should complement, not bury, the cookie flavor. And I learned that letting it cool fully matters more than I expected because it firms up a lot as it sits.
Storage & Serving Suggestions
It keeps well for about 3–4 days covered at room temperature. If you refrigerate it, the texture gets a bit firmer but still good. Best served slightly warm or at room temp with milk or ice cream. It works well for BBQs because you can slice it like a pizza and serve quickly.

Easy 4th of July Cookie Cake in Under 40 Minutes
Ingredients
Method
- Preheat oven to 350°F (175°C) and lightly grease a 9-inch round pan or line with parchment.
- Cream butter, brown sugar, and granulated sugar until light and fluffy.
- Mix in egg and vanilla until fully combined.
- In a separate bowl, whisk flour, cornstarch, baking soda, and salt.
- Add dry ingredients to wet mixture and mix until just combined.
- Press dough evenly into prepared pan.
- Top with M&Ms and sprinkles, gently pressing them into the dough.
- Bake for 16–20 minutes until edges are golden and center looks slightly underdone.
- Cool completely, then decorate with frosting if desired and slice.
