Skip to main content
Zimt

Home baking recipes and cinnamon favourites

How Long Does Pandan Layer Cake Last?

A pandan layer cake typically lasts 2 to 3 days at cool room temperature, 4 to 5 days in the refrigerator, and up to 2 to 3 months in the freezer if wrapped well. The exact answer depends on what the layers are made of: a cake built on custard, coconut milk, or fresh cream spoils far faster than one made with shelf-stable fillings, and the clock starts the moment the cake is assembled rather than when it is baked.

What Pandan Layer Cake Actually Is

Pandan layer cake is a Southeast Asian dessert, strongly associated with Malaysia, Singapore, and Indonesia, in which thin sponge or chiffon layers are stacked with a green pandan custard and finished with a coconut or pandan topping. The green colour and grassy, vanilla-like aroma come from pandan leaf extract or juice, often paired with coconut milk because the two flavours reinforce each other. Some versions use a set custard thickened with starch or agar, while others use whipped cream or buttercream between the layers. That structural difference is the single biggest factor in shelf life, because custard and cream are dairy- and egg-based and are therefore the perishable part of the cake.

Shelf Life by Storage Method

The table below gives realistic windows for a typical pandan layer cake made with a custard or cream filling. Treat these as maximums, not targets, and shorten them in hot, humid weather.

  • Room temperature: 2 to 3 hours is the safe window for a custard- or cream-filled cake; beyond that, bacteria can multiply quickly. A plain sponge cake with no perishable filling keeps 2 to 3 days in a cool room, but that is not what most pandan layer cakes are.
  • Refrigerator (4 °C / 40 °F or below): 3 to 5 days for custard and cream versions, stored covered so the cake does not pick up fridge odours or dry out. Sponge layers firm up and can taste slightly stale after day three.
  • Freezer (−18 °C / 0 °F): 2 to 3 months if the cake is wrapped tightly and the custard is starch- or agar-set rather than a soft cream. Dairy cream fillings can weep and separate on thawing, so freeze those only if you have tested the result.

These times assume the cake was made with pasteurised dairy and eggs, cooked custard that reached a safe internal temperature, and clean handling. A cake that sat out at a party for four hours before going into the fridge has already used up part of its window.

Why Custard and Cream Set the Clock

The perishable risk in pandan layer cake comes from moisture and protein. Custard made with eggs, milk, and coconut milk is a rich medium for bacteria, and it is also physically fragile: it can split, weep, or grow a skin if held too warm or too long. Coconut milk adds another wrinkle because it is high in fat and, once opened, is itself a perishable ingredient. The sponge layers are comparatively stable, which is why a dry sponge cake can sit out longer than a custard-filled one. If you want a longer-lasting cake, the practical move is to choose a filling that is set with starch or agar and kept cold, rather than a soft whipped cream.

A common misconception is that sugar or salt preserves the cake enough to make room-temperature storage safe. Sugar lowers water activity somewhat, but a custard cake is still a moist, protein-rich food and should be refrigerated. Another misconception is that a cake "looks fine" after a night on the counter, so it must be safe. Pathogenic bacteria do not reliably change the look, smell, or taste of a cake, so appearance is not a safety test.

Signs a Pandan Layer Cake Has Spoiled

Check the cake before eating it, especially if it has been stored near the edge of its window. Discard it if you notice any of the following:

  • Sour, fermented, or off odours, particularly from the custard layer.
  • Visible mould, including small green or white spots on the sponge or topping.
  • A custard that has separated, turned watery, or developed a slippery or slimy texture.
  • Bubbling or gas in the custard, which suggests fermentation.
  • Any cake that was left above 4 °C for more than two hours, regardless of how it looks.

When in doubt, throw it out. The cost of a replacement cake is small compared with the risk of foodborne illness, and custard-based desserts are a well-known vehicle for it.

How to Store It to Get the Full Window

  1. Cool the cake completely before refrigerating it, but do not leave it at room temperature for more than two hours while it cools.
  2. Cover it tightly with a cake dome, an inverted bowl, or plastic wrap so the surface does not dry out or absorb fridge odours.
  3. Keep it on the middle shelf of the refrigerator, not in the door, where temperature fluctuates most.
  4. For freezing, chill the cake first, then wrap it in plastic wrap followed by foil or a freezer bag, and label it with the date.
  5. Thaw overnight in the refrigerator rather than at room temperature, and eat within a day of thawing.

Pandan Layer Cake vs. Other Cream Cakes

Compared with a plain butter cake, a pandan layer cake has a shorter window because of its custard or cream filling. Compared with a fruit-topped cheesecake, the timelines are similar: both are refrigerated desserts with a 3-to-5-day fridge life. Compared with a dry sponge or pound cake, which can keep for several days at room temperature, the pandan layer cake must be treated as a chilled dessert from the moment it is assembled. If you are transporting it, use a cooler bag with an ice pack and keep the trip under two hours.

Frequently Asked Questions

Can I leave pandan layer cake out overnight?

No. A custard- or cream-filled cake should not sit at room temperature for more than two hours. Overnight on the counter is well beyond that limit and the cake should be discarded.

Can I freeze pandan layer cake?

Yes, for 2 to 3 months if it is wrapped tightly. Custard fillings set with starch or agar freeze better than soft whipped cream, which can separate on thawing. Thaw it in the refrigerator overnight.

How do I know if the custard has gone bad?

Look for sour or fermented smells, a watery or separated texture, bubbling, or any mould. If any of these are present, discard the cake.

Does pandan layer cake need to be refrigerated?

Yes, if it contains custard, cream, or coconut milk filling, which most versions do. Refrigerate it at 4 °C (40 °F) or below and eat it within 3 to 5 days.

Can I make pandan layer cake ahead of time?

You can bake the sponge layers a day ahead and store them wrapped at room temperature, but assemble the cake with custard no more than a day before serving so the filling stays fresh.

Read next