How To Make DIY Gender Reveal Cupcakes and Surprise Everyone
Prep time
Cook time
Total time
What a fun way to share and celebrate the gender of your new baby with all! This is a fun and easy recipe that will reveal the gender of the baby with a heart shaped blue or pink center.
Recipe type: Dessert
Serves: 24
  • 3 cups all purpose flour, Stir flour before measuring, then scoop and level each cup carefully
  • 2 cups sugar
  • 1 Tbsp baking powder
  • ¾ tsp salt
  • 1 cup (2 sticks) unsalted butter, cut into Tablespoons
  • 1 cup milk
  • 4 large eggs
  • 1 tsp pure vanilla extract
  • Blue & Pink Food Coloring
Ingredients for Pink/Blue Icing
  • 3 cups confectioners' sugar
  • 1 cup butter
  • 1 teaspoon vanilla extract
  • 1 to 2 tablespoons whipping cream
  • Pink and blue food coloring
  1. Combine the flour, sugar, baking powder, and salt.
  2. Using a hand mixer slowly add the butter, 1 Tablespoon at a time, until the butter breaks down and the mixture crumbles, scrap the sides as needed.
  3. In a large glass measuring cup, measure the milk and then whisk in the eggs and vanilla.
  4. Pour egg mixture into the dry ingredients, Do not overmix.
  5. Pour roughly ⅓ to ½ the batter into a bowl
  6. Mix in blue or pink food coloring until you get the color you want
  7. Pour batter into a greased 13x9-inch baking dish and bake at 400 degrees for 12 to 15 minutes. Allow to cool for a good 15 minutes.
  8. Press a small heart shaped cookie cutter in the colored cake and gently pull out the hearts. Cut enough hearts for the amount of cupcakes you need.
  9. Fill a cupcake pan with paper liners and fill ¼ to ½ full of batter.
  10. Stick colored hearts in the center of the batter.
  11. Scoop additional cake batter over the colored heart to fill the cups about ⅔ to ¾ full.
  12. Be careful not to overfill.
  13. Bake at 400 degrees Fahrenheit for 14 to 18 minutes until cake is baked and bounces back when touched.
  14. Allow cupcakes to cool completely.
How to make icing:
  1. Add the butter to a bowl and begin mixing on medium speed.
  2. Once the butter is whipped nicely, add the sugar and whipping cream and mix until until creamy.
  3. Then add the vanilla, mix again on medium until smooth.
  4. Divide into two batches and then add pink food coloring to one and mix until well blended
  5. Repeat with blue for second half of batch
To Frost:
  1. Take the two batches of Butter Cream Frosting and fit a plastic piping bag with large decorating tips
  2. Draw one thin line of pink food coloring and one thin line of blue food coloring on either side of the plastic bag.
  3. Gently fill the bag with frosting, being careful not to touch the food coloring with your spatula.
  4. Twist the end and squeeze until both colors are coming out the tip.
  5. Pipe a swirl on top of each cupcake, from the outside in towards the center, covering the secret colored heart.
It is best to frost within a few hours of serving, but you can make the cupcakes ahead of time and store for up to a few days in the fridge to save time!
Recipe by The Thrifty Couple at