Enjoy this Deathday Cake recipe as a tribute to one of Hogwarts’ most beloved ghosts and bring a bit of the wizarding world’s magic to your own kitchen!
There’s nothing like a tombstone cake to celebrate the day you died, right? Make Nearly-Headless Nick’s Deathday cake for your next HP party!
I’ve been to many birthday parties in my life, but never a deathday party! If you’ve only watched the movies, then you missed this reference. In Chamber of Secrets, Nearly-Headless Nick has a party on Halloween night to commemorate the day he was killed. It was leaving this party that Harry first heard the Basilisk (not leaving detention with Lockhart as in the movie).
Harry, Ron, and Hermione were the only living people at the party. The rest were all of the Hogwarts ghosts and others that Nick knew.
The smell was quite disgusting. Large, rotten fish were laid on handsome silver platters; cakes, burned charcoal-black, were heaped on salvers; there was a great maggoty haggis, a slab of cheese covered in furry green mold and, in pride of place, an enormous gray cake in the shape of a tombstone, with tar-like icing forming the words,
SIR NICHOLAS DE MIMSY-POPRPINGTON
DIED 31ST OCTOBER, 1492-Harry Potter and the Chamber of Secrets
Every year, deep in the shadowy corners of Hogwarts Castle, the ghost of Sir Nicholas de Mimsy-Porpington — better known as Nearly Headless Nick — celebrates his hundredth deathday with a party unlike any other. This is no ordinary birthday bash. It’s a deathday party, steeped in the eerie magic of the wizarding world, full of ghostly guests, haunting sounds, and a truly spectacular tombstone cake that steals the show.
This cake, shaped precisely in the shape of a tombstone, holds pride of place on the long table in the packed Great Hall, surrounded by flickering black candles and jet-black tapers that cast inky shadows over the feast. Let me take you through this enchanting celebration and the story behind this enormous grey cake, topped with its signature furry green mold — a nod to the mouldy cheese and great maggoty haggis that even the most discerning Hogwarts ghosts would approve.
Making the Cake
Of course, I wasn’t going to make any rotten, nasty food. But the cake was something I could do. I had a hard time with this cake, and it’s not my best work. I like to think the house-elves were probably too busy making the Halloween feast and just threw this together for Nick, which is why the writing doesn’t look great. The truth is, I am horrible at writing with icing.
This cake was almost a fail. I was very close to giving up this night and trying again another time. I started trying to make a homemade angel food cake, but didn’t have enough eggs for the 2 1/2 cups of egg whites it called for. After I had already mixed the flour and sugar together for the recipe. I wasn’t able to separate those. So I tried to find a recipe that used egg yolks, but most of those wanted the butter and sugar creamed. I didn’t want to waste the flour and sugar I already used, so I did what I do best: I just “winged it” and made my own cake!
It’s not quite the same as Harry Potter’s Birthday Cake. But, I wouldn’t expect a Deathday Cake to be as exciting as a Birthday anyways.
Nearly Headless Nick and the Headless Hunt
Sir Nicholas is no ordinary ghost. With his bearded head hanging by a single sinew and see-through eyes gazing wistfully from his charcoal black cloak, he is a beloved figure in the castle. He famously leads the Headless Hunt, a spirited group of decapitated ghosts who gallop the halls like the headless horseman, much to the delight (and occasional fright) of Hogwarts students.
At the deathday party, ghosts from all houses gather: the Fat Friar, the Bloody Baron, and even the Cheerful Hufflepuff ghost flitting by the common room. The air buzzes with stories and the faint, mournful cry of the wailing widow, making it clear this is a night to remember.
The Inspiration Behind the Tombstone Cake
The cake itself is a tribute to Nearly Headless Nick’s legacy. Shaped like a tombstone cake, it’s a dark and mysterious monument to the resident ghost of Gryffindor Tower. The enormous gray cake is frosted with a thick layer of charcoal black icing, then crowned with a sprinkle of furry green mould — created using a clever mix of edible colorings — to evoke the look of old, mouldy cheese or a great maggoty haggis left forgotten on a handsome silver platter.
The effect is striking, especially when surrounded by the flicker of flaming torches and the glow of black velvet tablecloths, creating an atmosphere both spooky and magical.
Preparing the Cake for the Halloween Feast
This cake is more than a recipe — it’s a centerpiece at the party held in a dungeon during Hogwarts’ legendary Halloween feast. The cake holds pride of place on a handsome silver platter, laid out beside slabs of cheese and other wizarding delicacies. Students and ghosts alike gather, the babble of talk filling the roomier dungeons and entrance hall, while the glow from jet-black tapers dances on the walls.
Since ghosts can’t eat, everything at the party was completely rotten. When asked, one ghost tells them that when he walks through the table of food, he can almost taste it because it’s so strong from being rancid.
Guests don bright orange party hats — a vibrant contrast to the dark decor — and mingle near the middle of the dance floor, where the crowded dance floor is alive with movement and laughter, even among the spirits.
A Spectacular Display: Decorations and Atmosphere
The party’s ambiance is enhanced by a spectacular display of tangerine stars hanging from the ceiling, their glow complimenting the brilliant orange hues of the party hats and candles. Around the hall, plumed hats nod as students like Miss Granger, Draco Malfoy, and George Weasley enjoy the festivities.
The haunting notes of musical saws drift through the air, accompanied by distant stories from the group of gloomy nuns and the occasional eerie howl from the wailing widow beyond the edge of the dance floor. It’s a celebration that perfectly balances warmth and chill, light and shadow.
The Hogwarts Resident Ghosts at the Party
Nearly Headless Nick isn’t alone. Alongside him, the portly ghost, the Fat Friar, floats cheerfully, while Lady Grieve watches silently from a corner, her falsely bright voice whispering tales of Hogwarts past.
Even the Slytherin ghost skulks near the entrance hall, adding a touch of mystery to the event. The gathering is a true cross-section of Hogwarts’ spectral society, united by the joy of celebration.
The Cake and the Wizarding World Traditions
The deathday cake is more than a dessert; it’s a tradition for Nearly-Headless Nick’s celebration. As the ghostly and mortal attendees enjoy the party, they recall memories of potions homework, a game of head hockey, and the excitement of a new school year.

Nick’s Deathday Cake Step by Step
Ingredients
Cake
- 2 cups all-purpose flour
- 2 1/2 cups granulated sugar
- 1/4 tsp salt
- 3 1/2 tsp baking powder
- 3/4 cup butter (unsalted, softened)
- 6 egg yolks
- 2 tsp vanilla extract
- 1 cup milk
- purple or black food color
Cream Cheese Frosting
- 6 oz cream cheese (softened)
- 6 oz butter (softened)
- 3 cups powdered sugar
- 2 tsp vanilla extract
Preparation
Preheat the oven to 350F. In a large bowl, sift together the flour, sugar, salt, and baking powder. Set that aside.

Using an electric mixer or stand mixer, beat the butter and egg yolks until they are combined. Then mix in some vanilla extract.

Add half of the flour mixture into the butter mixture. Stir until combined.

Pour in the milk and stir, then add the rest of the flour mixture and stir until it forms a creamy batter. Butter and flour a 9×13 metal baking pan. Spread the batter into the prepared pan and bake for about 35-40 minutes, until a toothpick comes out clean.

While the cake is cooling, make the frosting by combining the cream cheese and butter. Stir in the powdered sugar, a little at a time, and the vanilla extract. Mix until it’s creamy. Separate the frosting into two bowls, with about 1/3 in one bowl and 2/3 in the other. In the first bowl, add a few drops of purple (or black) food coloring. In the small bowl, add a very tiny amount of either purple or black to give the frosting a gray tint.


Once the cake has cooled, invert it onto a work surface and round two of the corners to make it into a tombstone shape.

Spread the light gray frosting on the entire cake.

Use an icing piper to write the words on the cake. Serve within the hour, otherwise, the cake needs to be refrigerated because of the cream cheese frosting.

Nearly Headless Nick’s Deathday Cake Leftovers
Storage: Store any leftover Nearly Headless Nick’s Deathday Cake tightly wrapped in the fridge for up to 3 days to keep it fresh.
Reheating: Gently warm individual slices in the microwave for 10-15 seconds to enjoy the cake at its best without drying it out.
Freezing: Wrap the cake tightly in plastic wrap and foil, then freeze for up to 2 months; thaw overnight in the fridge before serving.

Recipe
Originally Published On: June 24, 2018
Last Updated On: May 21, 2025

Nearly-Headless Nick’s Deathday Cake
Ingredients
- 2 cups all-purpose flour
- 2 1/2 cups granulated sugar
- 1/4 tsp salt
- 3 1/2 tsp baking powder
- 3/4 cup butter (unsalted, softened)
- 6 egg yolks
- 2 tsp vanilla extract
- 1 cup milk
- purple or black food color
- 6 oz cream cheese (softened)
- 6 oz butter (softened)
- 3 cups powdered sugar
- 2 tsp vanilla extract
Recommended Equipment
Instructions
- In a large bowl, sift the flour, sugar, salt, and baking powder together then set aside
- Use an electric mixer to combine the butter and egg yolks
- Add the vanilla extract to the butter mixture
- Pour in half of the flour mixture and stir
- Mix in the milk, then the other half of the flour until the batter is creamy
- Spread the batter into a pan lined with aluminum foil
- Bake for about 35-40 minutes, until a toothpick inserted in the center comes out clean
- While cake is cooling, make the frosting by combining the cream cheese and butter with an electric mixer until creamed together
- Add the vanilla extract, then the powdered sugar, a little at a time, until it’s creamy
- Separate the frosting into two bowls, putting about 1/3 in one bowl and 2/3 in another
- In the first bowl, add a few drops of purple or black food coloring (for the writing)
- In the second bowl with more frosting, add one drop of purple or black and stir to make a gray
- Invert the cake onto a work surface and cut the corners off the top to make the tombstone shape
- Spread the gray frosting on the entire cake
- Pipe out the words with the dark colored frosting
- Serve within the hour or store in the refrigerator
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.
Harry Potter-Inspired Recipes
- Butterbeer: A Harry Potter Party Essential
- Harry Potter’s Birthday Cake
- Crystallized Pineapple: A Sweet Treat with Only 3 Ingredients
- Harry Potter’s Treacle Tarts Recipe: Sweet and Vegan
- Canary Creams from Weasleys’ Wizard Wheezes
- Sorting Hat Cupcakes
- Sweet and Creamy Butterbeer Ice Cream
- Soft and Sweet Treacle Fudge
- Rock Cakes that Won’t Break your Teeth
- Paczki: Polish Doughnuts
- Pumpkin Juice
- The Welcoming Feast Roast Beef
- One-Pot Goulash
- Kreacher’s French Onion Soup
- Nearly-Headless Nick’s Deathday Cake
- Chocolate and Caramel Cockroach Clusters
- Dumbledore’s Apple and Sage Pork Chops
- Pumpkin Pasties from the Hogwarts Express
Frosting Recipes
- How to Make Perfect Cream Cheese Frosting
- Elegant and Creamy Banana Cake
- Chocolate Cake
- No Yeast Jumbo Cinnamon Rolls in Less than One Hour
- Banana Bread Bars
- Carrot Cake with Pineapple Filling
- Key Lime Frosted Cookies
- Nearly-Headless Nick’s Deathday Cake
- Harry Potter’s Birthday Cake
- How to Make the Best Quick Buttercream Frosting
Cake Recipes
- Easy Pull-Apart Caramel Coffee Cake Recipe
- Ice Cream Sandwich Cake Recipe: Perfect Summer Dessert
- Dutch Oven Apple Cobbler Dump Cake Recipe for Camping
- Chocolate Strawberry Cake
- Cobweb Cake
- Strawberry Shortcake
- Soft and Chewy Chocolate Chip Cookie Cake
- King Cake with Cream Cheese and Pecan Filling
- Elegant and Creamy Banana Cake with Cream Cheese Frosting
- Chocolate Cake with Cream Cheese Frosting
- Southern Sun Drop Pound Cake with Easy Lemon Glaze
- Nearly-Headless Nick’s Deathday Cake
- Better-Than-Sex Cake or Chocolate Caramel Poke Cake
- Harry Potter’s Birthday Cake
- Peach and Blueberry Cake
- Carrot Cake with Pineapple Filling
- Banana Cake with Glaze
- Pineapple Upside-Down Cake
- Perfect Fall Pumpkin Roll
- How to Make the Best Quick Buttercream Frosting
- Easy Chocolate Frosting – Perfect Buttercream Recipe



Hey, I think that works regardless of the challenges it presented you in the making! And it looks perfect for a “deathday” tombstone cake!!! I am still loving this series – it’s so fun and creative, and my girls are just starting to really get into Harry Potter, so can’t wait to start making some of these when camp is done for the summer and the weather has cooled!
My boys have been reading them now, too. We have the illustrated versions and they love them so much. Everything is Harry Potter for them at the moment!
Very cute theme idea, though I have to admit, no food based on nearly headless nick’s deathly party seems particularly appetizing!
Hah, I totally understand that! I figured you can’t go wrong with a cake, but no thanks to the rest of it!
This is the most creative Harry Potter themed cake I’ve seen. Great job!
Thank you! We have a bit of an obsession with Harry Potter here 🙂
I love this! What a great idea for a Harry Potter themed birthday cake – so imaginative!
I wanted to do something different than the usual “Happy Birthday Harry” cake that most people do. I’ve done that one, too, but this was fun to create.
That’s a great idea for party, inspired by Harry Potter! Looks a little awkward but I bet is’s tasty and unique!
Yeah, it’s a bit strange, but that’s what you get for a recipe inspired by a party for a ghost I guess! 🙂
LOL! What an interesting theme for a cake and party! hahaha! I would probably tell my kid, um, yeahhhh let’s do BUNNYS and RAINBOWS, no? LOL!
Hah, I know what you mean! But since we were doing a Harry Potter themed get-together, I was going off the books and we were watching Chamber of Secrets that night. But, now that you say it, it has me thinking there are unicorns in the books!
Nice idea. I’ve never thought of making a cake for Nearly-Headless Nicks, who would never be able to think that the cake tastes good
I’m not so sure it does in the book, though they never try it, the rest of the food is rotten. But of course, we couldn’t do that to ourselves, so delicious cake it is!
This look delicious. We love Harry Potter in my home…my kids would love this!
We’ve gotten a bit obsessed lately, especially my boys. Everything is Harry Potter for them right now and I am totally ok with that 🙂
I absolutely love your Harry Potter recipes, they make me nostalgic (not that nostalgic, I just read all the books for the 10th time like 6 months ago lol)… Can’t think of a better combination – cake and harry potter! Thank you for sharing this 🙂
I read through them all at least once per year, so I know what you mean. We are reading the illustrated versions to my boys right now and it’s so fun to read it with them for their first time.
I am not the best at making cakes of any sort but this is fantastic! I would love to give it a go.
I’m not the best at the decorating. I have the baking part down, but still working on getting that frosting to smooth out and the words to look right. But, no matter what it looks like, it tastes delicious!
I love all your Harry Potter theme meals and deserts! This looks like an awesome cake and perfect for a HP fan!
Thank you! We have so much fun trying to make recipes based on a theme like this. Especially when it’s one I’m so passionate about like Harry Potter.
I wish I could have made this today. My daughter is sick and she couldn’t go trick or treating, her friends stopped by. That would have been a nice treat for them.
Oh no! My youngest sons allergies were horrible on Halloween which left him coughing a lot but as long as he had a hard candy in his mouth he was good. He was so sugared up by the end of the night! I hope she’s feeling better.
oh yummmm!!! This cake is so original and looks delicious indeed! I would love to bake it soon.
Thanks! It was fun trying to figure out how to make a cake based on a quick description in a book.
This is a neat idea to celebrate Harry Potter and Halloween! I am not much of a Harry Potter fan (I like the series but not a biiiiiig fan), but I see myself making something like this. Very creative!
Luckily, you don’t have to be a big fan to enjoy cake 🙂 It was so fun trying to figure out the best way to make the cake since the only description is one line in the book.
This is a fabulous idea. I think taking a project and making it unique is the best. Your cake turned out awesome.
Thank you! I love trying to recreate things like this. It’s fun to experiment and see what we can come up with.
Omg such a fun cake idea!!!! My daughter and I love making cakes together!!! This is perfect for Halloween
My boys love helping me bake, too. Well, my oldest likes to help bake, my youngest just wants to eat everything!