The Feast

Home cooking recipes for everyday dinners and easy entertaining

Pastry Cream: Definition, Uses, and Recipe

· 5 min read · Dinners

Pastry cream, known in French as crème pâtissière, is a thick, custard-like dessert filling made from milk, egg yolks, sugar, and a starch thickener (usually cornstarch or flour), often flavored with vanilla. It is a standard component in French and international pastry, used to fill éclairs, cream puffs, tarts, cakes, and pastries. Unlike a poured custard, pastry cream is cooked until it thickens enough to hold its shape when piped or spread, but it remains soft and creamy.

Origins and Culinary Background

Pastry cream has roots in European custard traditions, which date back to the Middle Ages. The French term crème pâtissière literally means "pastry cream," reflecting its role as a filling for pastries. The technique of thickening custards with starch became common in the 17th and 18th centuries, allowing cooks to create stable fillings that would not run out of baked goods. The modern version typically uses cornstarch, which gives a glossy, firm texture, while older recipes may use flour or a combination of both. Pastry cream is distinct from crème anglaise (a thin pouring custard) and crème diplomate (pastry cream lightened with whipped cream).

How Pastry Cream Works

Pastry cream relies on the thickening power of egg yolks and starch. When heated, the proteins in egg yolks coagulate and the starch granules absorb liquid and swell, creating a thick gel. The process involves heating milk, whisking it into a mixture of egg yolks, sugar, and starch, then returning the mixture to heat until it bubbles and thickens. The starch prevents the eggs from curdling at high temperatures, allowing the cream to reach a safe, thick consistency. The cream must be cooked to at least 180°F (82°C) to ensure food safety and to deactivate enzymes that can thin the cream later. After cooking, it is typically strained and chilled quickly to stop the cooking process and prevent a skin from forming.

Key Ingredients and Substitutions

The classic pastry cream recipe includes:

  • Milk (whole milk is standard for richness)
  • Egg yolks (provide richness and color)
  • Sugar (sweetens and helps stabilize)
  • Cornstarch or flour (thickener)
  • Vanilla (flavoring; vanilla bean, extract, or paste)
  • Butter (optional, added after cooking for extra richness and shine)

For a thicker cream, use more cornstarch; for a lighter cream, reduce the starch or fold in whipped cream. Substitutions: you can use half-and-half or plant-based milk, but the fat content affects richness and stability. For egg-free versions, use a starch-based thickener and a commercial egg substitute, but the texture will differ. If you need a gluten-free option, use cornstarch or arrowroot instead of flour.

How to Make Pastry Cream (Step-by-Step)

  1. Heat milk and vanilla in a saucepan until steaming (do not boil).
  2. In a bowl, whisk egg yolks and sugar until pale and thick.
  3. Whisk in cornstarch until smooth.
  4. Gradually pour hot milk into the egg mixture, whisking constantly to temper.
  5. Return the mixture to the saucepan and cook over medium heat, whisking continuously, until it thickens and comes to a boil (about 1–2 minutes).
  6. Boil for 1 minute to ensure the starch is fully cooked and the cream is safe.
  7. Remove from heat and stir in butter if using.
  8. Strain through a fine-mesh sieve into a bowl.
  9. Press plastic wrap directly onto the surface to prevent a skin, then chill completely before using.

Common Problems and How to Fix Them

  • Lumpy cream: Usually from not whisking enough or adding hot milk too quickly. Strain the cream to remove lumps, or blend briefly with an immersion blender.
  • Too thin: The cream was not cooked long enough or the starch amount was insufficient. Reheat with a little extra cornstarch slurry, or fold in whipped cream to thicken.
  • Skin forming: Always press plastic wrap directly on the surface while chilling.
  • Egg-y flavor: Overcooking or using too many yolks can cause this. Use fresh eggs and do not overcook.
  • Curdled or scrambled: Caused by overheating without enough starch. If this happens, blend and strain; it may still be usable.

Pastry Cream vs. Other Custards

Pastry cream is often confused with other custards. Here’s how it compares:

  • Crème anglaise: A thin, pourable custard made with milk, sugar, and egg yolks, but no starch. It is used as a sauce.
  • Crème diplomate: Pastry cream lightened with whipped cream, used for lighter fillings.
  • Crème bavaroise: Crème anglaise thickened with gelatin and lightened with whipped cream, set in molds.
  • Lemon curd: A fruit-based custard using citrus juice, butter, and eggs, with no milk.

Storage and Food Safety

Pastry cream is perishable and must be handled safely. After cooking, cool it quickly and refrigerate within 2 hours. Store in an airtight container with plastic wrap on the surface for up to 3 days. Do not freeze pastry cream, as it will separate and become watery. Reheat gently if needed, but note that reheating may thin it. Always discard any pastry cream left at room temperature for more than 2 hours. Because it contains eggs and milk, it is a high-risk food for bacterial growth.

Frequently Asked Questions

Can I use pastry cream as a cake filling?

Yes, pastry cream is a classic cake filling, especially for sponge cakes and layer cakes. It is thick enough to hold its shape but soft enough to spread. For a lighter texture, fold in whipped cream (making crème diplomate) before using.

How do I thicken pastry cream that is too runny?

If your pastry cream is runny after chilling, it likely wasn't cooked long enough. Return it to the saucepan, bring to a boil while whisking, and cook for 1 minute. Alternatively, dissolve a teaspoon of cornstarch in cold milk and whisk it in, then reheat to boiling.

Can I make pastry cream without eggs?

Yes, you can make a starch-thickened custard using milk, sugar, and cornstarch without eggs. However, it will lack the richness and color of traditional pastry cream. You can add butter and vanilla to improve flavor. For a vegan version, use plant-based milk and a vegan butter substitute.

Why does my pastry cream have a skin?

A skin forms when the surface dries out during cooling. To prevent it, press plastic wrap directly onto the hot pastry cream before chilling. This also prevents a rubbery layer from forming.

Can I freeze pastry cream?

Freezing is not recommended because the starch and egg structure break down upon thawing, resulting in a watery, grainy texture. It is best to make fresh or store in the fridge for up to 3 days.

In this article
  1. Origins and Culinary Background
  2. How Pastry Cream Works
  3. Key Ingredients and Substitutions
  4. How to Make Pastry Cream (Step-by-Step)
  5. Common Problems and How to Fix Them
  6. Pastry Cream vs. Other Custards
  7. Storage and Food Safety
  8. Frequently Asked Questions