Chocolate-Vanilla Swirl Cupcakes
These rich chocolate cupcakes are topped with a beautiful swirl of vanilla and chocolate frosting, perfect for those who can't choose just one flavor.
- Prep30 min
- Cook17 min
- Total1h 30m
- DifficultyMedium
- Servings12
If you love frosting, this recipe is a dream come true. A moist chocolate cupcake is paired with a generous swirl of both vanilla and chocolate buttercream, giving you the best of both worlds in every bite.
The frosting is prepared in one batch and then divided, so you get two perfectly matched flavors. A clever plastic-wrap technique makes piping the two-toned swirl effortless and impressive.
Method
- Preheat the oven to 350°F. Line a 12-cup muffin pan with paper liners. In a bowl, whisk together the flour, cocoa powder, baking powder, salt, and baking soda.
- In a large bowl, using a handheld electric mixer, beat the softened butter with the sugar at medium-high speed until light and fluffy. Add the eggs one at a time, beating well after each addition. Beat in the sour cream and vanilla extract until smooth.
- Reduce the mixer speed to low and gradually beat in the dry ingredients until just combined. Divide the batter evenly among the lined muffin cups.
- Bake the cupcakes in the center of the oven for about 17 minutes, until they spring back when lightly touched and a toothpick inserted into the center comes out clean. Let them cool in the pan for a few minutes, then transfer to a wire rack to cool completely.
- For the frosting: In a large bowl, beat the softened butter with an electric mixer at medium speed until smooth. Add the confectioners' sugar, vanilla extract, salt, and 2 tablespoons of the milk. Beat on low speed until combined, then increase to medium speed and beat until smooth and creamy.
- Scrape half of the vanilla frosting into a medium bowl. To the remaining frosting in the large bowl, add the cocoa powder and the remaining 2 tablespoons of milk. Beat on low speed until fully incorporated, scraping down the sides as needed.
- Lay a large sheet of plastic wrap on a work surface with the long side facing you. Using a small spatula, spread the vanilla frosting in a 3-inch-wide strip down the center of the plastic wrap. Next to it, spread the chocolate frosting in a 3-inch-wide strip. Fold the plastic wrap over so the chocolate frosting covers the vanilla, then twist one end to seal. Pull the twisted end through a pastry bag fitted with a large star tip, and cut off the protruding plastic at the tip. Refrigerate the frosting until slightly firm, about 15 minutes.
- Pipe the frosting onto the cooled cupcakes in a swirl pattern. Serve immediately or store in the refrigerator.
💡 Tips
- Make sure the butter is properly softened for both the cupcakes and the frosting to achieve the right texture.
- For a neater swirl, chill the piped frosting for 10 minutes before serving.
- Store leftover cupcakes in an airtight container in the refrigerator for up to 3 days.
Inspired by a recipe from Food & Wine

