Harry Potter's Birthday Cake on brown paper (with logo overlay)

Harry Potter’s Birthday Cake from Hagrid (Book Version)

On Harry’s 11th birthday, Hagrid gives him a birthday cake and his Hogwarts letter. Recreate the moment with a homemade Harry Potter birthday cake.

Jump to Recipe

On July 31, 1991, Rubeus Hagrid showed up at the hut that Uncle Vernon was trying to hide from the wizarding world in. Harry Potter found out that he was a wizard and would be going to Hogwarts. Harry received a birthday cake from Hagrid. The cake was the first he’d been given since he was a year old.

“Anyway – Harry,” said the giant, turning his back on the Dursleys, “a very happy birthday to yeh. Got summat fer yeh here – I mighta sat on it at some point, but it’ll taste all right.”
From an inside pocket of his black overcoat he pulled a slightly squashed box. Harry opened it with trembling fingers. Inside was a large, sticky chocolate cake with Happy Birthday Harry written on it in green icing.

-Harry Potter and the Sorcerer’s Stone

On Harry's 11th birthday he was given a cake from Hagrid, who then brought Harry to Diagon Alley to get his school supplies, including his wand. Here's my cousin doing the Wand Experience at Wizarding World in Orlando, FL.
On Harry’s 11th birthday, he was given a cake from Hagrid, who then brought Harry to Diagon Alley to get his school supplies, including his wand. Here’s my cousin doing the Wand Experience at Wizarding World in Orlando, FL.

This cake was one of the first recipes that I made for our Harry Potter Club. I’ve had a recipe for a chocolate cake for a long time. I used that as my base for the cake. Then I made my favorite cream cheese icing and tinted it pink. The book doesn’t describe the color of the icing on the cake, just the letters. So, I went with the movie version of this cake for design but the book for the words.

In the movie, Hagrid spells the words wrong, but not in the book. Luckily, I had some green icing meant for writing on cakes left over from one of the boys’ birthday parties. It worked much better than trying to pipe it myself as I did on Nick’s Deathday Cake.

For Harry’s Birthday Cake, I decided to make it a double-layered cake with a bit of frosting in the middle. I posted my chocolate cake recipe a long time ago (you can find it here), but I’ll quickly go over the steps again. You don’t have to make a cake from scratch for this, but since I love to bake, I did. A box of chocolate cake would work just as well.

Celebrate Harry’s birthday on July 31st with a cake inspired by the Harry Potter books and movies. 

Harry Potter’s Birthday Cake Step by Step


Chocolate Cake

  • 2 cups all-purpose flour
  • 1 1/3 cups granulated sugar
  • 1 tsp baking powder
  • 1/2 tsp baking soda
  • 1/2 tsp salt
  • 1/2 cup butter
  • 1 cup milk
  • 1 tsp vanilla extract
  • 2 eggs
  • 2 oz semisweet chocolate bars (melted)

Cream Cheese Frosting

  • 4 oz butter (softened to room temperature)
  • 4 oz cream cheese (softened to room temperature)
  • 2 cups powdered sugar
  • 1 tsp vanilla extract
  • 2 drops red food coloring
  • green writing gel



Preheat the oven to 350F then grease and flour two 8- or 9-inch round cake pans.

Two round cake pans greased and floured on a wooden surface

Combine 2 cups of flour, 1 1/3 cups of sugar, 1 tsp baking powder, 1/2 tsp baking soda, and 1/2 tsp of salt in a large mixing bowl.

Dry ingredients for cake in a mixing bowl with measuring cups nearby

Add 1/2 cup of butter, 1 cup of milk, and 1 tsp of vanilla extract. Mix this with an electric mixer for about one minute.

Cake batter in a stainless steel mixing bowl with measuring cups nearby

Then add 2 eggs and 2 oz of melted semisweet chocolate. Mix this on high speed for a minute or two, until it forms a batter.

Chocolate cake batter in a mixing bowl on a wooden background

Divide the cake batter into the two prepared cake pans. Bake for about 30-45 minutes until a toothpick comes out clean. Cool for 10 minutes in the pan, then transfer to a cooling rack.

Chocolate cake batter in two round cake pans


While the cake cools, make your frosting. Combine 4 oz of softened butter with 4 oz of softened cream cheese in a large bowl until they are well mixed. Then add 2 cups of powdered sugar, a little at a time, until the frosting is creamy and smooth.

Frosting in a mixing bowl

Stir in 1 tsp of vanilla extract, then a drop or two of red food coloring to make it pink icing.

Pink frosting in a mixing bowl

Wait until the cakes have completely cooled. Put a small amount of frosting on top of one cake. If the cake isn’t flat on top, it helps to use a bread knife to cut the top off.

Pink frosting on top of chocolate cake with angled spatula

Then stack the second cake layer on top of the frosting to hold them together and form a line of frosting in the middle. I like to put pieces of parchment paper just under the cake to remove later. This keeps the frosting from getting on your serving tray. 

Two round chocolate cakes stacked on top of each other with parchment paper underneath

Add the rest of the pink frosting to the cake, spreading it out to cover the entire sides and top of the cake. I find having an angled icing spatula works wonders for frosting a cake. Angled spatulas are flat enough to smooth out the frosting.

Cake covered in pink frosting on a wooden background

Once you have your cake covered with the pink frosting, you may want to give it a few minutes to set. Then use green writing gel (or a piping bag with green frosting) to put the green lettering on the cake. You can go book-style and write “Happy Birthday Harry” or movie-style and spell it “Happee Birthdae Harry.”

And the best part about making this cake from Hagrid is that he is not well-known for his cooking and baking skills. So if the words don’t line up well or get larger and smaller, then you can claim it’s just Hagrid’s attempt at baking!

Harry Potter's Birthday Cake on brown paper (vertical)


Originally Published On: July 31, 2018

Last Updated On: March 18, 2024

Harry Potter's Birthday Cake on a brown paper (horizontal)

Harry Potter’s Birthday Cake

On Harry’s 11th birthday, Hagrid gives him a cake and his Hogwarts letter. Recreate the moment with homemade cake for Harry’s birthday.
Prep Time 15 minutes
Cook Time 30 minutes
Total Time 45 minutes
Harry Potter
Servings: 10 servings
5 from 8 votes


Chocolate Cake
  • 2 cups all-purpose flour
  • 1 1/3 cups granulated sugar
  • 1 tsp baking powder
  • 1/2 tsp baking soda
  • 1/2 tsp salt
  • 1/2 cup butter
  • 1 cup milk
  • 1 tsp vanilla extract
  • 2 eggs
  • 2 oz semisweet chocolate bars (melted)
Cream Cheese Frosting
  • 4 oz butter (softened)
  • 4 oz cream cheese (softened)
  • 2 cups powdered sugar
  • 1 tsp vanilla extract
  • 2 drops red food coloring
  • green writing gel


Chocolate Cake
  • Preheat oven to 350F
  • Grease and flour two 8 or 9 inch round cake pans
  • Combine dry ingredients in mixer bowl
  • Add butter, milk, and vanilla
  • Attach flat beater and set speed to 2 for about 1 minute
  • Add eggs and chocolate and continue on speed 2 for 30 seconds
  • Increase speed to 6 for another minute
  • Pour batter into pans and bake for 30-45 minutes or until toothpick comes out clean
  • Cool 10 minutes in pan, then transfer to cooling rack
Cream Cheese Frosting
  • Add butter and cream cheese to mixing bowl
  • Attach paddle attachment and mix on 4 until mixed well
  • Turn to stir and add half of the powdered sugar and mix until creamy and smooth
  • Add the other half of the powdered sugar until creamy and smooth
  • Beat in vanilla extract
  • Add a tiny amount of red food coloring to make the frosting pink
  • Once the cake has cooled, add a small amount of pink frosting between the layers of cake and stack them
  • Cover the top and sides of the cake with the pink frosting
  • Use the green writing gel to write “Happy Birthday Harry” on the cake (or “Happee Birthdae Harry” as in the movie)
Click the buttons below to share and print this recipe
Pin Recipe Print Recipe
Nutrition Facts
Harry Potter's Birthday Cake
Amount Per Serving
Calories 547 Calories from Fat 225
% Daily Value*
Fat 25g38%
Saturated Fat 15g75%
Cholesterol 97mg32%
Sodium 406mg17%
Potassium 137mg4%
Carbohydrates 75g25%
Sugar 55g61%
Protein 5g10%
Vitamin A 820IU16%
Calcium 81mg8%
Iron 1.5mg8%
* Percent Daily Values are based on a 2000 calorie diet.

All nutritional information is based on third-party calculations and should be considered estimates. Actual nutrition content will vary based on brands used, measuring methods, portion sizes, and more.

More Harry Potter-Inspired Recipes to try

Recipes Using Frosting

More Cake Recipes

49 thoughts on “Harry Potter’s Birthday Cake from Hagrid (Book Version)”

  1. 5 stars
    I should have come to enjoy a slice of that delicious chocolate cake. Once I settle into my new house, I have to get some mixing bowls.

    1. My boys enjoyed it, and that was before they really knew much about Harry Potter. We have since started reading the illustrated versions with my older son so now he’s asking me to make all of these again!

  2. Angela Cardamone @marathonsandmotivation.com

    My son will love the idea of celebrating Harry Potter’s birthday! Great cake!!

  3. 5 stars
    Who could ever forget that scene of the cake Harry gets in the movie! Love that you have recreated this as it is sure to be a hit for children everywhere. Your recipe is set out in such an easy to follow way, that I am looking forward to giving this a go.

  4. You are so creative! Love the way you made Harry Potter’s cake. Looks delicious. I’m a Harry Potter big fan, I’ll make this recipe for my birthday

  5. What a fun idea! I can’t wait until my youngest is old enough for Harry Potter so I can experience it all over again!

    1. We recently started reading the illustrated versions of the book with my oldest son. He was 5 when we started but he’s 6 now and we are about 1/3 of the way through Chamber of Secrets. My youngest can’t wait until he is 5 so we can start reading the books to him, too. My husband had also never read the books (only watched the movies) so it’s new for both of them which is so fun.

  6. That was an amazing idea. We love Harry Potter! As for the recipe, I’m really not that much of a baker but this looks simple enough. And yummy, too

  7. My kids grew up with the Harry Potter series and read all the books and saw all the films. It was an exhilarating time with that cake scene being one of the memories they hold dear. Kudos on your creative approach

    1. I can’t even tell you how many time’s I’ve read the entire series and watched the movies. We also listen to the soundtracks a lot. My boys are just starting to read the books with us and it’s so fun to go through that first experience with them.

  8. My son is a huge Harry Potter fan! He has a wand from that very same place, such a special experience! Love this cake too, sounds delicious and I can’t wait to make one!!

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating