Heart-shaped cake
intro
A tender, moist vanilla heart-shaped cake frosted with silky pink buttercream, a sweet romantic treat perfect for sharing with loved ones.
Ingredients
Steps
Prep pan and preheat oven
Preheat your oven to 175°C (350°F), adjust the oven rack to the middle position. Coat the entire interior of a 9-inch heart-shaped cake pan with nonstick baking spray, then line the pan bottom with a cut-to-fit heart-shaped parchment paper piece to prevent sticking.
Whisk dry cake ingredients
In a medium mixing bowl, combine 240g (2 cups) all-purpose flour, 6g (1.5 tsp) baking powder, and 3g (1/2 tsp) fine table salt. Whisk vigorously for 30 seconds to evenly distribute the leavening, then set the bowl aside.
Cream butter and sugar base
In a large stand mixer bowl (or using a hand mixer), beat 170g (3/4 cup) softened unsalted cake butter and 200g (1 cup) granulated sugar on medium speed for 3 minutes until pale, fluffy, and light in color. Add 3 room-temperature large eggs one at a time, beating for 45 seconds after each addition, then stir in 5ml (1 tsp) vanilla extract.
Mix batter and bake cake
Alternate adding 1/3 of the dry flour mixture and 1/3 of the 180ml (3/4 cup) room-temperature whole milk to the creamed butter base, mixing on low speed just until no dry flour remains (do not overmix, to keep the cake tender). Pour the smooth batter into the prepared heart pan, smooth the top with a silicone spatula, and bake for 28-30 minutes until a toothpick inserted into the cake center comes out with 2-3 moist crumbs attached.
Cool baked cake completely
Remove the baked cake from the oven, let it rest in the pan on a wire cooling rack for 15 minutes, then run a thin offset knife around the pan edges and invert the cake onto the rack to cool completely for 1 full hour before frosting—frosting a warm cake will cause buttercream to slide and melt.
Whip pink buttercream frosting
In a clean large mixing bowl, beat 226g (1 cup) softened unsalted butter for buttercream on medium speed for 2 minutes until completely smooth and free of lumps. Gradually add 360g (3 cups) powdered sugar 1 cup at a time, mixing on low speed to avoid kicking up sugar dust, then add 30ml (2 tbsp) heavy cream and the remaining 5ml (1 tsp) vanilla extract. Beat on medium-high speed for 4 minutes until the frosting is light and silky, then stir in 1 small drop of pink gel food coloring to create a soft pale pink hue.
Frost and decorate cake
Set the fully cooled heart cake on a flat serving plate. Use an offset spatula to spread all of the pink buttercream evenly over the top and curved edges of the heart shape, smoothing the surface as you go for a clean, polished finish. Sprinkle 30g (2 tbsp) of red heart-shaped sprinkles along the top outer edge of the cake for decoration, then chill the cake in the refrigerator for 10 minutes to set the frosting before slicing and serving.
Tips
2.Avoid overmixing the cake batter once you add the flour: overmixing develops gluten, which creates a tough, chewy texture instead of a tender, soft crumb.
3.Use gel food coloring instead of liquid food coloring for the buttercream: liquid coloring thins frosting and can create streaky, muted pink color, while gel delivers a consistent soft hue with a single drop.

OMG I made this for my husband’s anniversary dinner last weekend and it was a total hit! The vanilla flavor is so rich, not that artificial fake stuff, and the heart shape came out perfect even with my wonky old pan. 10/10 will make again for our Galentine’s brunch next month!
Wait, the cook time says 1 hour 50 minutes – is that total including cooling time? I’m on a tight schedule for my kid’s class Valentine party and don’t want to cut it close. Tasted great when I did a test run last week but I totally lost track of time when I made it!
Game changer! I brought this to my office potluck yesterday and every single slice was gone before I even got to say what it was. The crumb is so soft and moist, I didn’t even need to make a fancy frosting – just a simple vanilla buttercream and some red sprinkles was all it needed. SO good.
Tried this for the first time last night and honestly? For a medium difficulty recipe it was way more approachable than I thought. I was worried I’d mess up the heart shape but the instructions for leveling the cake were super clear. My roommate said it’s better than the grocery store bakery cake we got for her birthday last month, so that’s a win.
My kids loved it! We made this as a Sunday family activity and they had a blast helping me stir the batter and cover the whole thing in pink frosting and heart sprinkles. Only thing is I live at high altitude so I had to adjust the flour and baking temp a little, but it turned out fluffy and perfect anyway.
Wait, is there a way to make this gluten free? My niece has celiac and I want to make this for her birthday next week since she loves all things heart shaped. The regular version sounds amazing but I don’t want to make something she can’t eat.
Made this for my at home Valentine’s date with my partner and let me tell you, the vanilla buttercream recipe paired with this cake? *Chef’s kiss.* I added a little raspberry jam between the layers for a pop of tartness and it paired so well. We ate half the cake in one sitting no shame.
I don’t bake super often but I decided to try this for my wife’s birthday because she loves vanilla cake. It came out a little lopsided (my bad, I didn’t level the top like the recipe said) but she thought it was the most thoughtful thing ever. Tasted amazing too, even with my lopsided decorating skills. Will definitely be making this again, next time I’ll remember to level the layers!
I made 3 of these for my kid’s school bake sale last week and they sold out in 10 minutes flat! Parents were coming up to me asking for the recipe, I told them it was all thanks to this site. Only note is that I doubled the vanilla extract because we love extra vanilla flavor in our house, and it was perfect.
This is the same vanilla cake recipe my mom used to make for me when I was a kid! It’s so moist, not dense like a lot of boxed mixes, and the heart shape makes it feel extra special. I made this for my bridge club luncheon and all the ladies asked for the recipe.
Hmm, I followed the recipe exactly but my cake came out a little dry around the edges. I think my oven runs hot because I baked it for the exact time listed. Flavor was good but the texture was off for me. Maybe I’ll try turning the temp down 25 degrees next time.
I was worried this cake wouldn’t hold up well when I made it ahead for my friend’s bridal shower, but I wrapped the cooled layers tight in plastic wrap and kept them in the fridge for 2 days before frosting, and it was still so moist! Total lifesaver for party prep, I didn’t have to rush around baking the day of the event.
I know I’m the guy who usually brings brisket to every cookout, but I decided to switch it up and bring this heart cake for my wife’s birthday at our neighborhood cookout last weekend. Let me tell you, people were more impressed with the cake than my brisket! Wild. The vanilla flavor is so smooth, even I didn’t mess it up and I burn toast half the time.
Wait has anyone tried making this vegan? I know it’s a classic vanilla recipe but I’m trying to make desserts that all my friends can eat for our Galentine’s party, and I have a couple vegan friends coming. Would flax eggs work here instead of regular eggs?
Made this in my tiny dorm kitchen with just a hand mixer and a cheap heart pan I got at the dollar store, and it turned out insane! I didn’t even have fancy vanilla extract, just the regular grocery store kind, and it still tasted so luxurious. My floormates kept knocking on my door asking for slices, total hit.
I added a little cream cheese frosting instead of regular vanilla buttercream on top of this cake and oh my word, it was the best decision ever. The tang of the cream cheese pairs so perfectly with the sweet vanilla cake, I’ll never make it with regular frosting again. 10/10, highly recommend that swap if you love cream cheese frosting like I do.
I was worried this would be too complicated for a weeknight bake, but I split the work over two nights: baked the layers one night after dinner, let them cool, wrapped them up, then frosted and decorated the next night. It was so easy to fit into my busy schedule, and the cake tasted like I spent all day on it. Total game changer for busy parents!
I decorated this cake with those little edible pearl sprinkles and fresh strawberry slices around the base for my daughter’s 10th birthday, and she said it was the prettiest cake she’s ever seen. The vanilla cake itself is so sturdy it held up to all my heavy decorating without sagging or falling apart, which is a huge win for me because my decorating skills are still pretty basic.