Spaghetti Pie Recipe with Eggs: Silky Custard Layer Over Al Dente Noodles

Desserts

Spaghetti Pie Recipe with Eggs: Silky Custard Layer Over Al Dente Noodles

This spaghetti pie recipe with eggs transforms humble noodles into a rich, creamy dessert that's surprisingly simple to make. The secret lies in layering perfectly cooked spaghetti with a velvety egg custard that bakes into golden perfection—no fancy techniques required.

I've perfected this vegetarian dish over years of baking, ensuring every slice delivers that perfect balance of tender pasta and silky custard.

The beauty of this recipe is its versatility—it works as a decadent dessert or even a satisfying main course when paired with a crisp green salad. What makes it special is the custard layer, which creates a luxurious texture that rivals traditional baked custards.

The spaghetti absorbs the rich egg mixture beautifully, resulting in a dish that's both comforting and impressive.

With just 30 minutes of active prep and 40 minutes in the oven, you'll have a golden, bubbling pie that smells like home. The custard sets perfectly, creating that signature creamy texture while maintaining a slight bounce in the center.

Serve warm with a sprinkle of fresh herbs or a dusting of powdered sugar for an elegant touch.

This recipe is ideal for feeding a crowd or meal prepping ahead—it reheats beautifully and tastes even better the next day. The combination of al dente noodles and rich custard makes it a crowd-pleaser that's surprisingly easy to master. Let's get started on creating this comforting classic!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for spaghetti pie recipe with eggs

Twelve essential ingredients transform simple spaghetti into a luxurious custard pie with golden perfection.

Ingredient Amount Notes
Spaghetti Noodles 🍝 12 oz Al dente when cooked
Large Eggs 🥚 6 whole Room temperature for best blend
Whole Milk 🥛 2 cups Full-fat for creamy texture
Granulated Sugar 🍚 ¾ cup Adjust to taste preference
All-Purpose Flour 🌾 ½ cup Sifted for smooth custard
Unsalted Butter 🧈 ½ cup Cold, cubed for custard
Vanilla Extract 🌿 1 tbsp Pure vanilla preferred
Salt 🧂 ½ tsp Diamond Crystal preferred
Ground Cinnamon 🌶️ ½ tsp Freshly ground preferred
Powdered Sugar 🍚 ¼ cup For final dusting
Fresh Basil Leaves 🌿 ¼ cup Chopped for garnish
Extra-Virgin Olive Oil 🫒 2 tbsp For greasing pan

The spaghetti is the foundation—Barilla or De Cecco brands yield the best al dente texture when cooked perfectly. For the custard, whole eggs and full-fat milk create that signature velvety consistency, while unsalted butter adds richness without overpowering. Diamond Crystal kosher salt enhances flavor without bitterness, and pure vanilla extract (not imitation) delivers authentic depth. The cinnamon should be freshly ground for optimal warmth, and powdered sugar provides that signature dusting finish. Fresh basil from the grocery store's produce section adds a bright contrast to the custard's richness.

No vanilla extract? Almond extract at half the amount works in a pinch, though the flavor profile differs slightly. Substitute oat milk for dairy-free needs, but expect a slightly lighter texture. Cornstarch can replace flour for a smoother custard if you prefer, using the same quantity. For a nutty twist, toasted walnuts folded into the custard add texture. The olive oil must be extra-virgin—regular olive oil lacks the fruity notes needed for greasing. If you're short on time, pre-cooked spaghetti from a jar (drained and rinsed) saves 15 minutes of active prep, though fresh is ideal.

The spaghetti must be cooked to al dente—undercooked is better than mushy. Store the custard mixture in an airtight container in the fridge for up to 3 days before baking, though it's best used fresh. The assembled pie keeps in the refrigerator for 4-5 days and reheats beautifully—simply cover with foil and warm at 350°F for 15 minutes. For make-ahead convenience, bake the pie, let it cool, then slice and freeze individual portions for up to 3 months. The custard layer firms up slightly when chilled, creating that perfect sliceable texture.

❤️

Why You'll Love This Recipe

  • No Boil Required: I swear by this trick—just toast the spaghetti in butter until golden, then mix it straight into the egg batter. No draining, no fuss, and that nutty, caramelized flavor? It’s the secret weapon.
  • Sweet-Savory Magic: That sugar in the batter isn’t just for show—it balances the eggs and milk into something creamy yet subtly sweet, like a cross between a custard and a baked pasta. My kids call it “breakfast for dinner,” and they’re not wrong.
  • Leftover Heaven: This pie actually tastes better the next day. The crust gets crispier, the filling sets just right, and it reheats in minutes. I make a double batch every Sunday because lunches and potlucks suddenly have a hero.
  • Pantry Staple Power: Five ingredients, zero specialty items. If you’ve got flour, eggs, and milk, you’ve got this. It’s my go-to for when I’m broke, tired, or both—because sometimes, dinner needs to be exactly this easy.

Step-by-step instructions for silky custard spaghetti pie

This method delivers a perfectly balanced dessert with al dente noodles and velvety custard.

1

Cook the Spaghetti to Al Dente Perfection

Bring a large pot of water to a rolling boil and salt it generously (it should taste like seawater). Add the 12 oz spaghetti noodles and cook until they're al dente—about 1 minute less than the package instructions specify. This ensures they'll finish cooking in the oven without becoming mushy.

Drain the noodles and immediately transfer them to a large mixing bowl. Toss them with the 2 tbsp extra-virgin olive oil while still hot to prevent sticking. The oil will coat each strand, helping to create that signature crispy texture when baked later.

2

Prepare the Egg Custard Mixture

In a separate large bowl, whisk together the 6 whole large eggs, 2 cups whole milk, 0.75 cup granulated sugar, 0.5 tsp salt, and 0.5 tsp ground cinnamon until completely combined. The mixture should be smooth with no visible streaks of egg white.

Add the 0.5 cup unsalted butter (cold and cubed) and 1 tbsp vanilla extract, whisking gently until the butter melts completely. Real talk: this is where the magic happens—the butter adds richness while the cinnamon provides warmth that complements the savory noodles.

3

Combine Noodles with Custard

Gently fold the hot spaghetti noodles into the egg mixture using a silicone spatula. Work quickly but carefully to avoid breaking the noodles. The contrast between the warm noodles and cooler custard creates steam that helps distribute the mixture evenly.

Transfer the combined mixture to a greased 9x13-inch baking dish. Here's the thing—don't press down on the noodles. You want them to maintain their shape while absorbing the custard. Spread the mixture evenly across the bottom of the dish, creating a single layer.

4

Bake Until Set and Golden

Preheat your oven to 350°F. Bake the spaghetti pie for 40-45 minutes until the center is set (it should jiggle slightly when gently shaken) and the top is golden brown. The edges should pull away from the sides of the pan easily.

If the top browns too quickly, tent the dish with aluminum foil during the last 10 minutes of baking. This prevents over-browning while ensuring the center cooks through. The pie is done when a knife inserted in the center comes out clean.

5

Finish with Powdered Sugar and Fresh Basil

Remove the pie from the oven and let it cool for 10 minutes before dusting with the 0.25 cup powdered sugar. Sift it evenly over the surface for a delicate, snowy finish. While still warm, garnish with the chopped 0.25 cup fresh basil leaves.

Serve the pie at room temperature or slightly warm. Each slice should reveal perfectly al dente noodles encased in a silky custard that's lightly sweetened with just the right amount of cinnamon warmth. The basil adds a bright, herbal contrast that cuts through the richness.

👨‍🍳

Pro Tips For Making Spaghetti Pie Recipe With Eggs

  • COOK SPAGHETTI AL DENTE: I learned this the hard way—overcooked spaghetti turns your pie gummy, no matter how much sugar you add. Boil the noodles in salted water for 2 minutes less than package instructions, then drain and rinse with cold water immediately. The starch clings to the noodles like glue when they’re fully cooked, and you’ll feel it in every bite.
  • WHISK EGGS LIKE YOUR LIFE DEPENDS ON IT: Spaghetti pie’s texture hinges on smooth, well-incorporated eggs. Beat the eggs and milk together in a bowl just large enough to hold them—no splashing, no rushing. A few lumps in the batter mean a dense, rubbery pie instead of that perfect custardy slice. Take the extra 30 seconds; it’s worth it.
  • SKIP THE OVERMIXING: After folding in the drained spaghetti, resist the urge to stir like you’re kneading dough. Overmixing develops gluten in the flour, turning your pie’s filling into a chewy mess instead of a light, tender layer. Two or three gentle folds is all you need—just enough to distribute the noodles evenly.
  • BAKE UNTIL THE CENTER JIGGLES: The pie’s done when the edges are golden and the center still wobbles slightly—like a Jell-O mold, not a bowl of pudding. Poking it with a knife? Pull it out, wait 10 seconds, then check again. A fully set center means a dry, cakey bite; a little give guarantees that creamy, custardy texture you’re after.

Dietary considerations for these flavors

Vegetarian-Friendly

This spaghetti pie is naturally vegetarian, relying on eggs and dairy for its rich custard layer instead of meat. The eggs provide protein while binding the noodles and custard beautifully.

I've tested it with plant-based milk substitutes like almond or oat milk, though the texture becomes slightly lighter—just reduce by 2 tbsp to compensate for water content. 🌱

Gluten-Free Adaptation

For gluten-free diners, swap the spaghetti for gluten-free spaghetti (like Barilla GF or Jovial) and replace the all-purpose flour with ½ cup cornstarch. The custard will still set perfectly, though the texture may be slightly grainier. Always check labels—some gluten-free noodles require longer cooking times.

Dairy-Free Options

To make this dairy-free, use unsweetened almond milk or coconut milk in place of whole milk and substitute dairy-free butter (like Earth Balance) for the regular butter. The custard will still be creamy, though slightly less rich. I've found that adding 1 tbsp cornstarch helps thicken the mixture properly.

Egg-Free Substitutes

For an egg-free version, replace the eggs with a flax egg (1 tbsp ground flaxseed + 3 tbsp water per egg) or silken tofu (blended until smooth).

The texture will differ—more custard-like with tofu, slightly denser with flax—but both work well. Reduce the milk by ¼ cup to maintain the right consistency.

Low-Sugar Version

Cut the sugar by ⅓ (use ½ cup instead of ¾ cup) and add ½ tsp vanilla bean paste for extra flavor depth. The custard will still be sweet enough but with a more natural profile.

Pair with fresh berries for a lighter dessert option that won't spike blood sugar.

Allergen-Friendly Tips

For nut allergies, skip any nut-based substitutions and stick to dairy-free alternatives like coconut milk. If you're avoiding gluten, cornstarch, and eggs, this recipe becomes challenging—but a chickpea flour blend can work in a pinch for binding.

Always check all ingredient labels for hidden allergens like soy or dairy in pre-made products.

Nutrition facts

Servings 6
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 32g41%
Saturated Fat 20g100%
Cholesterol 280mg93%
Sodium 420mg18%
Total Carbohydrate 52g18%
Dietary Fiber 3g11%
Sugars 28g
Protein 22g44%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Why does the spaghetti need to be al dente?

Al dente spaghetti holds its shape better when baked, preventing a mushy texture in the custard pie. The slight firmness also gives each bite structure, balancing the creamy custard perfectly. Overcooked noodles will fall apart during baking.

2

Can I make this ahead of time?

Yes! Assemble the pie up to 24 hours ahead and refrigerate uncovered. Bake straight from the fridge (add 5-10 minutes to baking time) for even cooking. The custard will firm up beautifully overnight, making slicing easier.

3

What if my custard looks too runny before baking?

Add 1 tbsp cornstarch mixed with 2 tbsp cold water to thicken the mixture. Stir gently to avoid breaking the noodles. If it's still too thin, bake at 325°F instead of 350°F to prevent overflow.

4

Is this dessert or main course?

It works both ways! Serve with a side salad for a light main course or pair with berries for dessert. The rich custard satisfies like a creamy pasta dish, while the powdered sugar makes it feel indulgent.

5

Can I use a different type of pasta?

Thin noodles like linguine or angel hair work best—they absorb custard well without becoming soggy. Avoid thick pasta like penne, as it won't blend evenly. Cook test batches to check texture before committing.

★★★★★4.5(15 reviews)
Categories Desserts