Stuffed Cookie Dough Cupcakes
Cookie Dough Cupcakes are vanilla cupcakes with a hidden pocket of safe-to-eat chocolate chip cookie dough and a swirl of brown sugar buttercream on top. They taste exactly like the batter you want to sneak a spoonful of, without the raw eggs or flour.

This is the dessert I bring out when I want to watch people’s faces light up mid-bite. It looks like a regular cupcake until you hit that soft, chocolate-flecked center, and suddenly it’s a whole different thing.
What Makes These Cupcakes So Good
The cookie dough filling is fully edible, no raw flour, no eggs, so you can eat it with zero worry. I heat-treat the flour quickly in the oven while it preheats, and the dough comes together in five minutes.
The brown sugar frosting tastes like cookie dough in buttercream form. It’s rich, a little caramel-like, and holds a swirl better than plain vanilla. Together, the soft cake, chewy dough bits, and creamy frosting hit every texture you want in a cupcake.
Ingredients

Cupcakes
- 1 1/4 cups all-purpose flour: spooned and leveled
- 1 tsp baking powder
- 1/4 tsp baking soda
- 1/4 tsp salt
- 1/2 cup unsalted butter, softened
- 3/4 cup granulated sugar
- 2 large eggs, room temperature
- 2 tsp vanilla extract
- 1/2 cup buttermilk, room temperature
Cookie Dough Filling
- 1 cup all-purpose flour: to be heat-treated
- 1/2 cup unsalted butter, softened
- 1/2 cup packed light brown sugar
- 1/4 cup granulated sugar
- 2 tbsp milk
- 1 tsp vanilla extract
- 1/2 cup mini semisweet chocolate chips
Brown Sugar Frosting
- 1 cup unsalted butter, softened
- 3/4 cup packed light brown sugar: make sure it’s fresh and soft
- 3-4 cups powdered sugar
- 3-4 tbsp heavy cream or milk
- 1 tsp vanilla extract
- Pinch of salt
- Extra mini chocolate chips and small cookie dough balls for garnish
Variations / Substitutions
- Mini cupcakes: Bake 12–14 minutes and use half the amount of filling.
- Chocolate chip swap: Try dark chocolate chips or white chocolate chips in the dough and frosting.
- Dairy-free: Use vegan butter sticks and oat milk in place of butter and dairy.
- Boxed shortcut: Start with a vanilla boxed cake mix, but keep the homemade brown sugar frosting.
For a simpler no-bake option, try Chocolate Chip Cookie Dough Dip.
How To Make Stuffed Cookie Dough Cupcakes
Step 1: Make the Cookie Dough Filling

First, heat-treat the 1 cup flour for the filling. Spread it on a baking sheet and bake at 350°F (175°C) for 5 minutes while the oven preheats. Let it cool completely before using, this step is non-negotiable for safety. In a bowl, beat the 1/2 cup softened butter, brown sugar, and granulated sugar until creamy, about 2 minutes. Mix in the milk and vanilla, then stir in the cooled flour until just combined. Fold in the mini chocolate chips. The dough will be soft; chill it in the fridge while you make the cupcakes so it firms up and is easier to handle.
You’ll see the dough turn a shade lighter as you beat the butter and sugars, then darken slightly again when the flour goes in. It should hold a scoop shape but still feel pliable, like real cookie dough.
Because there’s no egg, you can taste it right then and there without a second thought. Just be sure the flour is fully cooled before mixing, or it will melt the chocolate chips.
Step 2: Mix the Cupcake Batter

Keep the oven at 350°F (175°C). Line a 12-cup muffin tin with paper liners. In a medium bowl, whisk together the 1 1/4 cups flour, baking powder, baking soda, and salt. In a large bowl, beat the 1/2 cup butter and granulated sugar with an electric mixer until light and fluffy, about 3 minutes. Add the eggs one at a time, beating well after each, then the vanilla. Alternate adding the flour mixture and the buttermilk, starting and ending with flour. Mix just until no dry streaks show; a few small lumps are fine.
The batter should look smooth and pale yellow, and it will fall off a spoon in thick ribbons. If it seems too thick, add a teaspoon of milk, but be careful not to thin it out, the buttermilk already gives it a tender crumb.
Overmixing at this stage makes cupcakes tough, so stop as soon as the flour disappears. The alternating method keeps the crumb even and soft.
Step 3: Bake the Cupcakes

Divide the batter evenly among the 12 liners, filling each about two-thirds full. Bake for 18 to 22 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs. Let them cool in the pan for 5 minutes, then transfer to a wire rack to cool completely before filling.
The tops will rise and turn a light golden brown. If you gently press the center of a cupcake, it should spring back. Any domes that crack were overfilled, so keep an eye on that next batch.
Cooling completely is crucial; if the cupcakes are even slightly warm, the cookie dough filling will melt and sink into the crumbs. I often bake the cupcakes in the morning and fill them later in the afternoon.
Step 4: Core and Fill the Cupcakes

Once the cupcakes are completely cool, use a small paring knife or a cupcake corer to cut a cone-shaped hole in the center of each one, about 1 inch wide and deep. Save the little plugs, you can nibble them or discard them. Scoop about 1 tablespoon of the chilled cookie dough into each hole, pressing it in gently but not packing it down too hard.
The dough should sit flush with the top of the cupcake, not mound up. If it peeks out a tiny bit, that’s fine, the frosting will cover it.
If the dough has been in the fridge for at least 30 minutes, it will hold its shape and not fall apart as you fill. You can roll it into small balls beforehand to make the process quicker.
Step 5: Whip the Frosting

In a large bowl, beat the 1 cup softened butter on medium speed until creamy, about 2 minutes. Add the brown sugar and beat for 3 to 4 minutes, scraping the bowl often, until the mixture is smooth and the sugar isn’t grainy when you rub a little between your fingers. Gradually add 3 cups of the powdered sugar, alternating with the heavy cream, and beat on low. Once combined, crank the speed to high and whip for 2 minutes. Add vanilla and salt, then check the consistency. If it’s too stiff, add more cream, 1 tablespoon at a time; if too loose, add the remaining 1/2 cup powdered sugar.
The frosting should be light in color, like pale caramel, and smooth enough to pipe without tearing the bag. The brown sugar gives it tiny flecks that look like cookie crumbs.
The key to a silky brown sugar buttercream is beating the butter and brown sugar long enough to dissolve most of the sugar crystals. If your brown sugar is hard or clumpy, sift it first to avoid a gritty texture.
Step 6: Pipe and Top the Cupcakes

Fit a piping bag with a large star tip and fill it with the frosting. Starting at the outer edge of each cupcake, pipe a swirl over the filled center, covering the cookie dough completely. Sprinkle a few mini chocolate chips over the frosting, then press one small cookie dough ball on top of the swirl.
The finished cupcakes look bakery-worthy with those high swirls and chocolate chips catching the light. Serve them right away, or keep them covered at room temperature until you’re ready.
That little cookie dough ball on top is a signal that something good is inside. I like to make extra dough balls and freeze them, then just pop one on each cupcake without thawing, it stays firm while you eat.
A Few Notes Before You Start
- If you don’t have a cupcake corer, a small paring knife works just as well. Cut a cone and carefully lift it out.
- Portion the cookie dough filling into small balls before you start coring the cupcakes. It speeds up assembly and keeps the filling uniform.
- For the smoothest frosting, make sure your butter is truly at room temperature. Too cold and it won’t whip up, too warm and it’ll get soupy.
- When adding brown sugar to the buttercream, beat it for a full 3 to 4 minutes and rub a bit between your fingers to check for grittiness. If it still feels sandy, keep beating with a little extra cream.
Storing Leftover Cupcakes
- Refrigerate: Store filled and frosted cupcakes in an airtight container in the fridge for up to 5 days. Let them sit at room temperature for 20 minutes before serving so the frosting softens.
- Reheating: These are best at room temperature. If you want a warmer center, microwave a single cupcake for 10 to 15 seconds on low power, the cookie dough will get a little melty and even better.
- Freeze: You can freeze unfrosted cupcakes and the cookie dough filling separately. Wrap the cooled cupcakes in plastic wrap and freeze for up to 1 month. Thaw overnight in the fridge, then fill and frost. The dough balls also freeze well; layer them between sheets of parchment.
Frequently Asked Questions
Can I use store-bought cookie dough instead of making my own?
No, unless the package is clearly labeled edible or safe to eat raw. Most commercial cookie doughs contain raw flour and eggs, which can be a food safety risk.
How do I heat-treat flour without an oven?
Spread the flour on a microwave-safe plate and microwave in 30-second bursts, stirring between each, until the flour reaches 160°F on an instant-read thermometer. Let it cool completely before using.
Can I make these cupcakes gluten-free?
Yes. Use a 1:1 gluten-free flour blend that contains xanthan gum for both the cupcake batter and the cookie dough filling. The dough will be a bit more delicate, so chill it longer before handling.
My frosting turned out grainy, what went wrong?
Brown sugar doesn’t dissolve as easily as granulated sugar, especially if it’s old or has hard lumps. Beat the butter and brown sugar for at least 3 to 4 minutes, and sift the brown sugar if it’s clumpy. A little extra cream can also help smooth it out.
Can I skip the filling and just make cookie dough cupcakes?
Sure. You can fold 1/2 cup of mini chocolate chips into the cupcake batter and top with the brown sugar frosting. It won’t have the stuffed center, but the flavor will still remind you of cookie dough.

Stuffed Cookie Dough Cupcakes Recipe
Ingredients
Method
- Heat-treat the flour: spread 1 cup flour on a baking sheet and bake at 350°F for 5 minutes. Let cool completely.
- Make the cookie dough filling: beat 1/2 cup butter, brown sugar, and granulated sugar until creamy. Mix in milk, vanilla, and cooled flour, then fold in chocolate chips. Chill.
- Prepare the cupcake batter: whisk dry ingredients. Beat 1/2 cup butter and sugar until fluffy, add eggs and vanilla. Alternate dry ingredients and buttermilk; mix just until combined.
- Divide batter among 12 lined cups, fill each two-thirds full. Bake at 350°F for 18–22 minutes until a toothpick comes out clean. Cool completely.
- Core each cupcake and fill with about 1 tablespoon of chilled cookie dough.
- For the frosting: beat butter and brown sugar until smooth, 3–4 minutes. Gradually add powdered sugar and cream, then vanilla and salt. Whip until fluffy.
- Pipe frosting onto cupcakes, top with mini chocolate chips and a small cookie dough ball.
