Nearly Headless Nick's Deathday Cake: rectangular cake with rounded tops covered in grey frosting with dark writing on a dark granite surface (with logo overlay)

Nearly-Headless Nick’s Deathday Cake

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,


-Harry Potter and the Chamber of Secrets

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.

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.

Step by Step

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.


Originally Published On: June 24, 2018

Last Updated On: October 30, 2019

Nearly Headless Nick's Deathday Cake: rectangular cake with rounded tops covered in grey frosting with dark writing on a dark granite surface

Nearly-Headless Nick’s Deathday Cake

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!
Prep Time 15 minutes
Cook Time 35 minutes
Total Time 50 minutes
Course: Dessert
Cuisine: American
Keyword: cake, Harry Potter
Servings: 15 pieces
5 from 5 votes


  • 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


  • 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
Click the buttons below to share and print this recipe
Pin Recipe Print Recipe
Nutrition Facts
Nearly-Headless Nick's Deathday Cake
Amount Per Serving (1 piece)
Calories 522 Calories from Fat 225
% Daily Value*
Fat 25g38%
Saturated Fat 15g75%
Cholesterol 141mg47%
Sodium 250mg10%
Potassium 186mg5%
Carbohydrates 72g24%
Fiber 1g4%
Sugar 58g64%
Protein 4g8%
Vitamin A 849IU17%
Calcium 97mg10%
Iron 1mg6%
* Percent Daily Values are based on a 2000 calorie diet.

Related Posts

Shop This Recipe

When making any recipe, it’s essential to make sure you have the correct equipment. The following items are hand-selected for this recipe and are all items I have personally used and/or recommend.

These are affiliate links. See disclosures for more information.

32 thoughts on “Nearly-Headless Nick’s Deathday Cake”

  1. 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!

    1. 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!

  2. 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 🙂

    1. 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.

    1. 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!

  3. I love all your Harry Potter theme meals and deserts! This looks like an awesome cake and perfect for a HP fan!

  4. 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.

    1. 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.

  5. 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!

Leave a Comment

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

Improve your cooking today

Whether you’re just getting started or looking to improve your skills, the Intro to Cooking guide was made for you! Sign up to receive a free copy, which also includes 7 simple yet tasty recipes. Plus you’ll receive new recipes in your inbox every week. Yum!

Make sure to check your inbox (and spam folder) for your confirmation email, which includes the link to download your Intro to Cooking guide.

Pasta All-In
Banana BreadBanana Bread covered with oats on a slate serving plate next to a brown towel and a bread knife on a wooden surface (with logo overlay)

Wait! There's more great recipes...

Stop cooking the same recipes every week. Sign up and you’ll receive new tasty recipes in your inbox each week. Plus, you’ll also receive an Intro to Cooking PDF so you can quickly improve your cooking skills.

%d bloggers like this: