War Cake

title 1
War Cake
⏱️ cook time 1 hour 45 minutes
🍽️ servings 8
⚡ Difficulty easy

intro

A dense, moist, egg- and dairy-free spiced pantry cake born of wartime rationing, packed with warm spices and plump raisins, with a long shelf life.

Ingredients

All-purpose flour 240 grams (2 cups, spooned and leveled)
Packed light brown sugar 150 grams (3/4 cup)
Raisins 170 grams (1 cup, lightly packed)
Vegetable shortening 47 grams (1/4 cup)
Water 227 ml (1 cup)
Ground cinnamon 2.5 grams (1 teaspoon)
Ground cloves 1 gram (1/2 teaspoon)
Baking soda 4 grams (1 teaspoon)
Table salt 3 grams (1/2 teaspoon)

Steps

1

Prep oven and loaf pan

Preheat your oven to 175°C (350°F). Use a small dab (about 1g) of the measured vegetable shortening to grease the inside of a 9x5 inch (23x13cm) metal loaf pan, then line the bottom and long sides with a strip of parchment paper that overhangs the edges by 5cm (2 inches) for easy cake removal.

Step 1
step1:Prep oven and loaf pan
2

Simmer the raisin base

Combine the remaining vegetable shortening, 150g packed light brown sugar, 170g raisins, 227ml water, 2.5g ground cinnamon, 1g ground cloves, and 3g table salt in a small saucepan over medium heat. Bring to a rolling boil, then reduce heat to medium-low to maintain a gentle simmer, and cook for 3 minutes, stirring occasionally with a wooden spoon, until the shortening is fully melted and raisins are plump. Remove from heat and let cool for 15 minutes until it reaches lukewarm (around 43°C/110°F), so it does not prematurely activate the baking soda.

Step 2
step2:Simmer the raisin base
3

Whisk dry ingredients

While the raisin mixture cools, add the 240g spooned-and-leveled all-purpose flour and 4g baking soda to a medium mixing bowl. Whisk vigorously for 30 seconds to evenly distribute the baking soda throughout the flour, breaking up any small lumps of flour with the whisk tines.

Step 3
step3:Whisk dry ingredients
4

Mix the cake batter

Pour the cooled lukewarm raisin mixture into the bowl with the dry ingredients. Stir with a rubber spatula just until no dry streaks of flour remain, about 20 to 25 seconds; do not overmix, as this will make the cake tough. The finished batter will be thick, with evenly dispersed plump raisins throughout.

Step 4
step4:Mix the cake batter
5

Bake the war cake

Scrape all of the batter into the prepared 9x5 inch loaf pan, smoothing the top into an even layer with the spatula. Place the pan on the middle rack of the preheated 175°C (350°F) oven, and bake for 40 to 45 minutes, until a wooden toothpick inserted into the center of the cake comes out with only 1 to 2 moist crumbs attached, no wet batter.

Step 5
step5:Bake the war cake
6

Cool before serving

Remove the baked cake from the oven, and let it rest in the pan on a wire cooling rack for 15 minutes. Lift the cake out of the pan using the parchment paper overhang, and let it cool completely on the rack for another 25 minutes before slicing into 2.5cm (1 inch) thick slices to serve.

Step 6
step6:Cool before serving

Tips

1.Always let the simmered raisin mixture cool to lukewarm (110°F/43°C or below) before combining with dry ingredients; overly hot liquid will activate the baking soda too early, resulting in a dense, flat cake with little rise.
2.This cake was designed for long shelf life to send to deployed troops during wartime: wrap fully cooled slices tightly in plastic wrap or parchment, and store at room temperature for up to 7 days with no refrigeration needed.
3.Stir the batter only until dry flour streaks disappear; overmixing develops gluten in the all-purpose flour, leading to a tough, chewy crumb instead of the traditional tender, dense texture.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

War Cake:Frequently Asked Questions

1.Why doesn’t this classic war cake include eggs or dairy? ▾
This recipe originated during wartime food rationing, when eggs, butter, and milk were strictly prioritized for troops, leaving very limited supply for civilian home baking. The combination of vegetable shortening, moisture from plumped raisins, and dense spiced crumb creates a tender, moist bite without those perishable ingredients, which also gives the cake its famously long shelf life.
2.Can I substitute butter for the vegetable shortening in this recipe? ▾
You can swap an equal amount of melted, cooled unsalted butter for vegetable shortening if you prefer a richer, buttery flavor, but note this will slightly alter the traditional dense, chewy crumb and shorten the cake’s unrefrigerated shelf life. Stick to shortening if you want the most authentic, long-lasting result that matches the original wartime recipe.
3.Do I have to plump the raisins before adding them to the batter? ▾
Plumping raisins is highly recommended for the best texture, as dry, straight-from-the-bag raisins will pull moisture from the cake crumb as it bakes, leading to uneven, dry spots. Simmer raisins in the recipe’s measured water for 3 to 4 minutes, then let them cool fully before mixing—this also infuses the water with sweet, fruity depth that boosts the whole cake.
4.How should I store war cake to make it last as long as possible? ▾
Once the cake is fully cooled to room temperature, wrap it tightly in two layers of plastic wrap or tuck it into a sealed airtight container, and store it in a cool, dark pantry spot away from direct sunlight. Properly stored, it will stay moist and flavorful for up to 1 week at room temperature, or up to 3 months if wrapped for the freezer.
5.My cake turned out really dense—did I make a mistake when mixing? ▾
Don’t panic! A tight, dense, moist crumb is totally intentional for classic war cake, unlike fluffy butter or layer cakes that rely on eggs and lots of leavening for light, tall height. As long as your cake is fully set in the center (a toothpick comes out with a few moist crumbs, no raw batter) and slices cleanly, you made it correctly.
6.Can I add extra mix-ins like nuts or other dried fruit to the base recipe? ▾
Absolutely! This ultra-forgiving pantry staple recipe works well with up to 1 cup of total add-ins, so feel free to toss in chopped walnuts, dried cranberries, a pinch of extra warm spice, or shredded unsweetened coconut. Just toss any solid add-ins in a light dusting of flour first to keep them from sinking to the bottom of the pan as it bakes.
7.I don’t see baking soda or baking powder in the ingredient list—how does the cake set? ▾
Traditional war cake doesn’t use chemical leaveners, which were also often scarce during wartime rationing. Instead, it relies on the structure from developed gluten in all-purpose flour, melted shortening, sweet brown sugar, and the thick, cooked raisin mixture to set into a firm, moist crumb. Avoid overmixing the batter once you add flour, as that can make the final crumb tough.

Comments (18)

2 days ago

OMG I made this for my grandma’s 89th birthday and she cried! She said it tasted exactly like the war cake her mom made during WWII when she was a kid. It was so moist, not too sweet, and I literally had all the ingredients in my pantry already. Total game changer for last-minute potluck invites too!

1 day ago

Wait did you add any raisins or nuts? I feel like my grandma’s version had walnuts but I can’t remember!

1 day ago

That makes my day to hear! Many families have their own little add-ins for war cake - raisins, walnuts, or even a sprinkle of cinnamon on top are all totally traditional swaps if you want to customize it.

3 days ago

Super easy to throw together, I will say mine came out a little drier than I expected? I think I might have left it in the oven 10 minutes too long because I got distracted watching the football game. Flavor was spot on though, my roommates devoured half the pan in 10 minutes.

2 days ago

Oh no, sorry to hear it was a little dry! Oven temps can vary so much, I’d recommend checking for doneness with a toothpick starting at the 1 hour 30 minute mark next time - if it comes out with just a couple moist crumbs, it’s good to go!

just now

Just pulled this out of the oven and my whole apartment smells insane!!! Can’t wait to dig in after it cools, the batter was so good I may have licked the bowl (no raw eggs, no judgment right? 😂)

1 week ago

Brought this to my church potluck last Sunday and people were asking for the recipe before I even set the pan down! I added a simple powdered sugar glaze on top because my family likes things a little sweeter, and it was chef’s kiss. SO good, will be making this monthly for sure.

5 days ago

How did you make the glaze? I’ve been looking for a light one that won’t overpower the spice flavor!

4 days ago

Just 1 cup powdered sugar, 2 tablespoons milk, and a half teaspoon of vanilla! Drizzle it on once the cake is totally cool so it doesn’t melt right off.

5 minutes ago

Wait a cake that doesn’t need eggs or butter? I was so skeptical but I’m dairy free and egg intolerant and this is perfect. I don’t have to do any weird substitutions, it just works. Why didn’t I know about war cake sooner??

2 minutes ago

Right?! It’s the best accidental vegan cake ever, I make it for my kid’s class parties because it works for so many dietary restrictions. No one ever guesses it’s missing all the usual fancy baking stuff!

2 weeks ago

Made this with my 10 year old granddaughter last weekend when she was visiting. We talked about how people made this during the war when groceries were hard to come by, and she thought it was the coolest thing that we could make a cake with just stuff we had in the cupboard. She ate three slices and asked if we could make it again when she comes for Christmas. 10/10 for the family memory alone.

30 minutes ago

Made this for my weekly meal prep so I have a little sweet treat to look forward to after work all week. It holds up really well in the fridge, I will say I wish it had a little more clove and allspice so I’ll bump those up next batch. Super easy to slice and pack for work snacks too!

10 minutes ago

Love that you’re using this for meal prep! The spice level is totally customizable - feel free to add an extra 1/4 tsp of allspice or clove next time to match your taste, it won’t throw off the texture at all.

yesterday

First time ever baking a cake from scratch, so maybe this is totally on me? The recipe says it’s easy and it really was, but I think I messed up the order I mixed the ingredients? There were little lumps of brown sugar that never fully melted while it baked, so some bites were super clumpy and extra sweet. Flavor was great otherwise!

12 hours ago

Oh I had that happen my first time too! I just whisk the dry ingredients really well first, then pour in the wet ingredients slow while stirring, and that fixed the lumps for me. Don’t give up on it!

10 hours ago

Great tip from HomeCookHero! Those brown sugar lumps pop up if the sugar is clumpy when you add it - I recommend breaking up any brown sugar clumps with your fingers before mixing it in with the dry ingredients for a smoother batter next time. You’ve got this!

5 days ago

My kids loved it!!! I’ve been trying to find desserts that don’t have a million processed ingredients and this is perfect. I added a handful of raisins like my mom used to, and my 7 year old asked for a second slice before he even finished his first. Win for mom over here.

2 hours ago

Had a slice of this warm with a cup of black coffee after dinner tonight and I swear it’s cozier than any fancy coffee shop pastry I’ve ever bought. The molasses flavor is so warm and perfect for cold fall evenings.

1 hour ago

Omg I did the same thing last night! Warm slice, little dollop of whipped cream on top, spiced latte on the side. Best fall night in I’ve had all month!

3 days ago

As someone on a super tight grocery budget this month, this recipe was a total lifesaver. I didn’t have to run to the store for a single thing - all pantry staples, no fancy expensive ingredients. I spent literally $0 making it and it tastes better than the $15 sheet cake I bought from the grocery store bakery last week.

2 days ago

Fr! I’m a broke college student and this is the only dessert I can afford to make right now. My roommates think I’m some fancy baker now, little do they know it took 10 minutes to mix together 😂

2 days ago

That’s exactly what makes war cake so special! It was created to be accessible no matter what your grocery budget looks like, and it always makes me happy to see people using it to make sweet treats without breaking the bank.

2 weeks ago

I’m super sensitive to strong cinnamon flavors so I cut the cinnamon in half and it was perfect for me! If you’re not a big spice person I’d definitely recommend adjusting that to taste, otherwise it might be a little overpowering. Overall super easy and tasty.

1 week ago

Great call adjusting the spices to your preference! Baking is all about making recipes work for your taste, and cutting the cinnamon in half is a perfect swap for anyone who prefers a milder flavor.

1 week ago

Made this for our local VFW potluck last week for our veteran’s appreciation event, and so many of the older vets said it took them right back to their childhoods. We had an older gentleman who served in Korea come up and tell me he hadn’t had war cake since his mom sent it to him in a care package when he was deployed. Choked me up a little, not gonna lie. Incredible recipe.

5 days ago

I’m so excited to make this for my book club potluck tomorrow! Quick question - can I make this in a 9x13 pan instead of a loaf pan? I only have the 9x13 right now and I don’t feel like running to the store for a new pan tonight. Would I need to adjust the cook time?

4 days ago

I did that last week! Just drop the cook time by about 20-25 minutes, check it with a toothpick early. It comes out a little thinner but the flavor is exactly the same, perfect for serving a crowd.

3 days ago

Perfect tip! If you use a 9x13 pan, the cake will bake faster so definitely start checking doneness around the 1 hour 15 minute mark to avoid overbaking. It works great for potlucks that way!

yesterday

Can you freeze this cake? I like to make double batches of treats and freeze slices for quick snacks later, but I don’t want it to get all weird and freezer burned.

20 hours ago

Great question! This cake freezes beautifully - just wrap individual slices tightly in plastic wrap and then store them in a freezer bag for up to 3 months. Thaw slices at room temp for 30 minutes when you’re ready to eat, and they taste just as fresh as the day you baked them!

2 days ago

I collect old wartime and Great Depression recipes, and this is by far the best war cake recipe I’ve ever tried. A lot of old recipes turn out really dense or bland, but this one is perfectly moist, has just the right amount of molasses and spice, and it’s exactly what I remember my great grandma making when I was little. 10/10, this is going in my permanent recipe box.

3 days ago

Served this for Sunday dinner after our pot roast, and even my super picky teen who turns his nose up at every “old person food” I make went back for a second slice. I served it with a little scoop of vanilla ice cream on top and it was the perfect end to the meal.

2 days ago

Wait serving it with vanilla ice cream is genius! My kid is the same way, he acts like anything that’s not a processed snack is gross, I’m gonna try that trick to get him to try it this weekend.

1 week ago

Wait has anyone tried making this with a little maple syrup instead of some of the molasses? I’m almost out of molasses but I have a ton of maple syrup in the pantry, and I don’t want to run to the store. Would that mess up the texture?

5 days ago

I did that last month! I swapped half the molasses for maple syrup and it was so good, added a little extra warm woody flavor. Texture was exactly the same, no issues at all!

4 days ago

Love that swap! You can replace up to half the molasses with maple syrup without impacting the texture at all - it adds a really lovely, cozy flavor that pairs perfectly with the spices in the cake. Enjoy!