The Feast

Home cooking recipes for everyday dinners and easy entertaining

Lemon Pastry Cream Recipe: Bright, Smooth Filling for Pastries

· 5 min read · Dinners

Lemon pastry cream is a rich, silky custard infused with bright lemon flavor, perfect for filling tarts, éclairs, cream puffs, and layer cakes. Unlike plain vanilla custard, the addition of lemon zest and juice gives it a refreshing tang that cuts through the richness, making it ideal for both classic and modern desserts. This recipe delivers a stable, smooth texture that holds its shape when piped, thanks to a balanced ratio of egg, starch, and dairy.

Ingredients

  • 2 large eggs (about 100g total)
  • 1/3 cup (67g) granulated sugar
  • 3 tablespoons (24g) all-purpose flour
  • 2 tablespoons (16g) cornstarch
  • 1/4 teaspoon fine sea salt
  • 1 1/4 cups (300ml) whole milk
  • 1 tablespoon (15g) unsalted butter, cut into small pieces
  • 1 tablespoon (6g) finely grated lemon zest (from 1 large lemon)
  • 3 tablespoons (45ml) fresh lemon juice
  • 1 teaspoon pure vanilla extract (optional)

Instructions

  1. In a medium bowl, whisk together the eggs, sugar, flour, cornstarch, and salt until smooth and no lumps remain. The mixture will be thick and pale yellow.
  2. In a small saucepan, heat the milk over medium heat until it begins to steam and small bubbles form around the edges, about 5 minutes. Do not let it boil.
  3. Slowly pour about 1/3 of the hot milk into the egg mixture while whisking constantly to temper the eggs and prevent curdling.
  4. Pour the tempered egg mixture back into the saucepan with the remaining milk, whisking continuously.
  5. Cook over medium heat, stirring constantly with a wooden spoon or silicone spatula, until the mixture thickens into a custard and large bubbles burst on the surface, about 5–7 minutes. The custard should coat the back of the spoon and hold a clear line when you run your finger across it.
  6. Remove from heat and immediately stir in the butter, lemon zest, lemon juice, and vanilla extract (if using) until fully incorporated and smooth.
  7. Transfer the pastry cream to a clean bowl. Press a piece of plastic wrap directly onto the surface to prevent a skin from forming. This is critical for maintaining a smooth texture.
  8. Cool at room temperature for 15–20 minutes, then refrigerate for at least 2 hours or until completely chilled before using.

Tips

  • Use fresh lemon juice and finely grated zest for the best flavor. Bottled juice lacks brightness and can taste flat.
  • Tempering the eggs slowly is essential—pouring hot milk too quickly can scramble them. Stir constantly during this step.
  • If lumps form during cooking, immediately strain the custard through a fine-mesh sieve before cooling.
  • For a lighter texture, you can fold in 1/4 cup (60ml) of lightly whipped heavy cream after the custard has cooled slightly.

Serving Suggestions

Lemon pastry cream shines in a variety of desserts. Use it to fill lemon cream tarts, éclairs, or profiteroles. It pairs beautifully with fresh berries in parfaits or layered in trifles. Spread it between sponge cake layers for a citrusy twist on a classic dessert. It also makes an excellent topping for fruit pies or a filling for danishes and croissants.

Variations

  • Lime or Orange Pastry Cream: Substitute lime or orange zest and juice for lemon in equal amounts for a different citrus profile.
  • Coconut Lemon Cream: Replace half the milk with canned full-fat coconut milk for a tropical flavor.
  • Extra Tangy Version: Add an additional 1 tablespoon of lemon juice and a pinch of citric acid (1/16 tsp) for a sharper bite.
  • Almond-Infused Cream: Add 1/4 teaspoon almond extract with the vanilla for a subtle nutty note that complements the lemon.

Storage and Reheating

Lemon pastry cream can be stored in an airtight container with plastic wrap pressed directly on the surface in the refrigerator for up to 4 days. Do not freeze, as the custard will separate and become watery upon thawing. If the cream thickens too much in the fridge, stir in 1–2 teaspoons of milk at a time until it reaches a pipeable consistency. Reheat gently in 15-second intervals in the microwave, stirring between each, or over a double boiler, but avoid overheating, which can cause weeping or curdling.

Frequently Asked Questions

Can I make lemon pastry cream without eggs?

No traditional pastry cream can be made without eggs, as they are essential for structure and richness. However, you can make a dairy-based lemon filling using cornstarch and milk without eggs, but it will be less stable and more pudding-like in texture.

Why did my pastry cream turn out lumpy?

Lumps usually form from insufficient whisking, adding hot milk too quickly to the eggs, or not cooking long enough to fully activate the starch. Always whisk continuously and strain the custard if needed to ensure smoothness.

Can I use low-fat milk?

Whole milk is recommended for the richest texture and best stability. Using low-fat or non-dairy milk may result in a thinner, less creamy custard that doesn’t hold its shape well when piped.

How do I prevent a skin from forming?

Press plastic wrap directly onto the surface of the warm custard immediately after cooking. This creates a barrier against air and prevents skin formation.

Can I use this for a pie filling?

Yes, but note that pastry cream is softer than traditional pie fillings. For a firmer set, increase the cornstarch to 3 tablespoons and chill the pie thoroughly before slicing.

Is lemon pastry cream safe to eat with raw eggs?

The eggs in this recipe are fully cooked during the heating process, reaching a safe internal temperature above 160°F (71°C), which eliminates the risk of salmonella. However, pregnant individuals, young children, older adults, and immunocompromised people should consult a healthcare provider if concerned about egg consumption.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions