Hagrid's Birthday Cake: Harry Potter Recipe
In this article
In Harry Potter and the Philosopher's Stone, Hagrid gives Harry a homemade birthday cake—a pink, roughly frosted confection with green lettering that reads "Happy Birthday Harry." This recipe recreates that iconic cake: a moist, simple vanilla sponge covered in a thick, rustic pink buttercream. It's intentionally imperfect, just like Hagrid's, but it's genuinely delicious and perfect for any Potter-themed celebration.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon salt
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 4 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- For the frosting: 1 cup (2 sticks, 226 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar, sifted
- 2–3 tablespoons heavy cream or milk
- 1 teaspoon vanilla extract
- Pink gel food coloring
- Green gel food coloring (for lettering)
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar together until light and fluffy, about 3–4 minutes with an electric mixer.
- Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
- With the mixer on low speed, add the dry ingredients in three additions, alternating with the milk. Start and end with the dry ingredients. Mix just until combined—do not overmix.
- Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean.
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely.
- While the cakes cool, make the frosting: Beat the softened butter until creamy. Gradually add the powdered sugar, beating on low speed until incorporated. Add the cream and vanilla, then beat on high speed for 2–3 minutes until fluffy.
- Add pink gel food coloring a drop at a time until you reach a soft pink color (like Hagrid's cake).
- Place one cake layer on a serving plate. Spread a layer of frosting on top, then place the second layer on top.
- Frost the top and sides of the cake with a thick, rustic layer—don't worry about making it smooth; Hagrid's was rough and homemade.
- Using a small piping bag or a zip-top bag with a tiny corner snipped off, pipe "Happy Birthday Harry" in green frosting on top of the cake. Let the frosting set for at least 30 minutes before serving.
Tips
- Substitutions: Use buttermilk instead of whole milk for a slightly tangier, tender crumb. For a dairy-free version, use plant-based butter and milk.
- Storage: This cake keeps well at room temperature in an airtight container for up to 3 days. Refrigerate if your kitchen is warm, but bring to room temperature before serving.
- Common mistake: Overmixing the batter can make the cake dense. Mix just until the flour disappears.
- Lettering: If you're not confident piping, use a toothpick to sketch the letters first, or use alphabet cookie cutters as stencils.
Serving Suggestions
Serve this cake as a centerpiece at a Harry Potter movie night, a birthday party, or a themed tea. Pair it with a cup of strong tea or pumpkin juice (non-alcoholic). For a more magical presentation, dust the plate with powdered sugar to resemble snow, or add a few chocolate frogs around the base.
Variations
- Chocolate version: Replace 1/4 cup of the flour with unsweetened cocoa powder for a chocolate sponge.
- Lemon version: Add 2 tablespoons of lemon zest to the batter and use lemon juice in the frosting for a citrus twist.
- Berry version: Fold 1 cup of fresh raspberries or chopped strawberries into the batter before baking.
- Different frosting: Use cream cheese frosting instead of buttercream for a tangier taste.
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 3 days. If you need to keep it longer, refrigerate for up to a week—just let it sit at room temperature for 30 minutes before serving. To freeze, wrap the unfrosted cake layers tightly in plastic wrap and freeze for up to 2 months. Thaw overnight in the refrigerator before frosting. Do not microwave the cake; it will become soggy. If you prefer it slightly warm, heat individual slices in a 300°F (150°C) oven for 5–7 minutes.
Frequently Asked Questions
Why is my cake dry?
Overbaking is the most common cause. Check the cake at the 25-minute mark and use a toothpick. Also, ensure you measure the flour correctly—spoon it into the measuring cup and level it off, rather than scooping directly.
Can I make this cake in advance?
Yes. You can bake the cake layers a day ahead and store them wrapped in plastic wrap at room temperature. Frost the cake the day you plan to serve it for the freshest taste.
How do I get the pink color just right?
Start with just a drop or two of gel food coloring. Gel colors are more concentrated than liquid ones, so they won't thin the frosting. Add more until you reach a soft, pastel pink.
Can I use liquid food coloring instead of gel?
Yes, but you'll need more drops to achieve the same color, and the extra liquid can slightly thin the frosting. If that happens, add a bit more powdered sugar to thicken it.
What if I don't have two 9-inch pans?
You can use a single 9x13-inch baking dish—just increase the baking time to 35–40 minutes. Or, bake in a 9-inch round pan and a few cupcakes, adjusting the time for the cupcakes (about 18–20 minutes).
Is it safe to eat raw cake batter?
No. The batter contains raw eggs and flour, which can carry bacteria. Do not taste the batter. Wait until the cake is fully baked and cooled.