Hagrid's Rock Cakes | Harry Potter Recipes

The Starving Chef is supported by Hungry People like you. When you make a purchase through an affiliate link on my site, I may earn a little bit of cash on the side (at no extra cost to you) to help keep my kitchen running. Read our disclosures here.

Hagrid's Rock Cakes | Harry Potter Recipes Super Hungry? Jump to the Recipe

Rubeus Hagrid is by far one of my favorite - and also most loveable - character from the Harry Potter world. I mean, who wouldn't want a giant half-breed man to be your best friend and protector? In many of the books, Hagrid serves Harry, Ron, and Hermione rock cakes, which they always politely decline. Though had Hagrid just used a little magic in the kitchen, he could have create rock cakes like these instead.

I've been a huge Harry Potterhead my entire life, so naturally, when I recieved the Unofficial Harry Potter Cookbook for Christmas, I knew I had to make it a point to get at least Harry's birthday cakes on the blog. Throughout the rest of July, I hope to attempt many, many more magical recipes.

Check out the master list of Harry Potter birthday cakes here!

Hagrid's rock cake is actually more of a chocolate sponge cake, so while it feels heavy, it's actually quite moist and fluffy.

Start by whisking together the dry ingredients in a separate bowl, excluding the cocoa powder. In a stand mixer, beat together the sugar and butter, then add the eggs one at a time. Slowly pour in the dry mix followed by the cocoa powder, and stir well to mix completely.

Measure the batter out into two greased ramekins then pop into the oven for 25-30 minutes. I leveled off the tops of my cakes so the custard would have an even surface to sit on. Let the cakes cool down totally before you try to slice off the tops though!

While your cakes are cooling, mix together your cream, milk, cornstarch, and sugar in a sauce pan over medium low heat until just bubbling, stirring constantly.

Next tempure your eggs before slowly adding into the cream mix, remove from heat and stir until smooth and creamy.

Spread the custard between the cooled cakes and serve with a tall mug of milk. Enjoy!

This cake was one of my favorites out of all of the Harry Potter cakes I've made!

Shop this Post

Hagrid's Rock Cakes

  • Number of Servings: 1
  • Prep Time: 10 minutes
  • Cook Time: 30 minutes
  • Total Time: 50 minutes
Hagrid's Rock Cakes | Harry Potter Recipes


  • 1 cup flour
  • 1 tsp baking powder
  • pinch salt
  • 8 tbsp butter, room temperature
  • ½ cup sugar
  • 3 eggs, room temperature
  • 2 tbsp cocoa powder
  • ½ cup confectioners sugar, for dusting
  • ½ cup whole milk
  • ¼ cup heavy cream
  • ½ cup sugar, divided
  • 1 ½ tbsp cornstarch
  • pinch salt
  • 2 egg yolks
  • 1 tsp vanilla

Mouth Feel


Tried it? Loved it? Share it!


  1. Preheat the oven to 350F and grease two ramekins. In a small bowl, mix together the flour, baking powder, and salt. Use a stand mixer to beat together the sugar, butter, and eggs until light and fluffy.
  2. Slowly add the dry ingredients to the batter, followed by the cocoa powder. Stir until completely incorporated. Pop into the oven for 25-30 minutes, or until the tops are brown and a toothpick inserted in the center comes out clean.
  3. Let the cakes rest in the ramekins for 10 minutes before tipping out onto a wire cooling rack to cool completely.
  4. While the cakes are cooling, use a sauce pan over medium low heat to bring the milk, sugar, vanilla extract, and cornstarch to a simmer. Tempure the yolks with a tablespoon of the milk mix before adding to the pan. Whisk constantly to keep the eggs from scrambling. Remove from the heat and continue to stir until the custard is smooth and creamy.
  5. Spread the custard onto the tops of one of the cakes and use the other cake to make a sandwich. Garnish with confectioners sugar, serve with a mug of milk, and enjoy!

Let Me Know What You Think!

Latest Videos

What to Eat While RVing at the Grand Canyon & Valley of Fire

Charcuterie Chalet (aka the Cheese Board House)

One of the weirdest food trends to arise from 2020 - the charcuterie chalet. It's like a gingerbread house, but made from crackers, meat and cheese.

Sweet & Sour Turkey Meatballs

These turkey meatballs are packed with pineapple, roasted to perfection and served in a sweet and sour sauce.