Desserts
This spaghetti pie recipe with eggs transforms humble pasta into a rich, creamy casserole that feels indulgent without the fuss. 💛 The secret lies in a velvety egg-based filling that coats every strand of al dente spaghetti, creating a texture somewhere between lasagna and custard.
I developed this recipe during a particularly busy week when I needed a one-dish meal that could feed a crowd without requiring multiple pans or complicated techniques.
The beauty of this dish is its versatility—it works as a satisfying main course for dinner or even a comforting dessert when dusted with powdered sugar.
The egg mixture binds everything together while adding a subtle richness, and the baked edges develop a golden, crispy texture that contrasts perfectly with the tender pasta underneath. What makes it truly special is how it elevates simple ingredients into something restaurant-worthy with minimal effort.
What you'll achieve is a foolproof dish that delivers on both comfort and convenience. The spaghetti absorbs the creamy egg mixture while staying al dente, and the whole thing bakes up with a golden crust that's impossible to resist.
This recipe is perfect for meal preppers, busy weeknights, or when you want to impress guests without spending hours in the kitchen. The best part? It's vegetarian but can easily accommodate meat or extra veggies for those who prefer heartier versions.
Once baked, this pie holds together beautifully for serving, making it ideal for gatherings or leftovers. The creamy filling stays cohesive even when cut, and the flavor only deepens as it sits.
Whether you're serving it as a main dish or a sweet treat, this spaghetti pie delivers on comfort without the usual casserole boredom. Let's get started!
Ingredients for spaghetti pie recipe with eggs
Six eggs, one creamy filling, and pasta that transforms into an indulgent pie.
| Ingredient | Amount | Notes |
|---|---|---|
| Spaghetti Pasta 🍝 | 12 oz | Uncooked, broken into 3-inch pieces |
| Large Eggs 🥚 | 6 whole | Room temperature for best mixing |
| Heavy Cream 🥛 | 1 ½ cups | Full-fat for richness |
| Whole Milk 🥛 | ½ cup | For creaminess balance |
| Shredded Mozzarella Cheese 🧀 | 2 cups | Part-skim for meltiness |
| Grated Parmesan Cheese 🧀 | ½ cup | Freshly grated preferred |
| All-Purpose Flour 🌾 | ½ cup | For thickening the filling |
| Granulated Sugar 🍚 | 2 tbsp | Balances savory flavors |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Garlic Powder 🧄 | 1 tsp | For subtle depth |
| Vanilla Extract 🌸 | ½ tsp | Optional for sweet version |
| Unsalted Butter 🧈 | ½ cup | Melted for crispy top |
| Powdered Sugar 🍚 | 2 tbsp | For dessert version only |
The eggs are the heart of this dish—room temperature makes mixing easier, and large eggs give the best texture. Kirkland Signature or Organic Valley are my go-tos for consistent quality. For the pasta, De Cecco or Barilla hold up best when broken into pieces—no need for pre-cooking. The cheese matters too: Kraft part-skim mozzarella melts reliably, while Parmigiano-Reggiano from a block adds depth. If you're making the sweet version, grab Domino powdered sugar—it's fine enough to dust without clumping.
No heavy cream? Full-fat Greek yogurt thinned with milk works in a pinch. Short on mozzarella? Shredded cheddar at half the amount gives a different but still delicious flavor. The vanilla extract is optional but worth it for that dessert twist—Nutiva or McCormick are reliable brands. For the savory version, skip the powdered sugar and add a pinch of nutmeg instead. The flour is just for thickening, so don't skip it—it keeps the filling from getting watery. And if you're prepping ahead, break the pasta the day before to save time.
This pie keeps beautifully—3-4 days in the fridge, 2 months frozen. The secret to reheating? Cover with foil for the first 10 minutes to melt the cheese, then broil for 2 minutes to crisp the top. For the sweet version, dust with powdered sugar right after baking while it's still warm. Store leftovers in a glass container to keep the crust from getting soggy. And if you're serving a crowd, double the recipe—it's that good.
Why You'll Love This Recipe
- One-Pan Magic: I swear by this for nights when I’d rather not load the dishwasher. Cook the spaghetti, mix it with eggs and cream, bake—done. That’s it. The pasta soaks up all the creamy goodness while the cheese turns golden and bubbly.
- Creamy Cheesy Bliss: Between us, this is the kind of dish that makes you close your eyes mid-bite. The eggs give it that rich, custardy texture, while the mozzarella stretches into gooey perfection. It’s like mac and cheese’s cooler, more sophisticated cousin.
- Lunchbox Hero: Honestly, this is my go-to for meal prep. Cut into squares, and you’ve got a portable, no-reheat-needed lunch. My kids pack it in their lunches—no complaints, just empty containers by noon.
- Budget-Friendly Feast: Spaghetti, eggs, and milk? We’re talking cheap ingredients that stretch into a full meal. Leftovers reheat beautifully, and I’ve fed a crowd with just one pan. Plus, the grocery bill won’t flinch.
Step-by-step instructions for spaghetti pie with eggs
This one-dish wonder comes together faster than you'd think—creamy, cheesy, and packed with pasta goodness.
👨🍳 Step 1: Prep the Pasta Crust
Preheat your oven to 375°F. Break the 12 oz spaghetti pasta into 3-inch pieces by hand—this creates that perfect crust texture. Spread the broken pasta evenly in a 9x13-inch baking dish, pressing lightly so pieces overlap slightly but don't break apart. This layer will become your crispy bottom crust.
Bake the pasta crust for 8-10 minutes until it starts to turn pale golden at the edges. I like to give it a quick stir halfway through to prevent sticking—just use a spatula to gently rearrange the pieces. This pre-baking step is key; it prevents a soggy bottom later and gives that satisfying crunch.
🍳 Step 2: Make the Creamy Egg Filling
In a large bowl, whisk together the 6 whole large eggs, 1.5 cups heavy cream, 0.5 cup whole milk, 2 tbsp granulated sugar, 1.5 tsp salt, 0.5 tsp black pepper, 1 tsp garlic powder, and 0.5 tsp vanilla extract until completely smooth. I use a whisk for about 2 minutes—this ensures no lumps and gives that silky texture. The vanilla extract is optional but adds a nice depth if you're making a sweet version.
In a separate bowl, combine the 0.5 cup all-purpose flour, 2 cups shredded mozzarella cheese, and 0.5 cup grated parmesan cheese. Gently fold this mixture into the egg mixture just until fully incorporated—you're looking for a thick, smooth batter that still has visible cheese flecks. Overmixing can make the filling tough, so stop as soon as everything's combined.
🥘 Step 3: Assemble the Pie
Pour the egg mixture evenly over the pre-baked pasta crust, spreading it out to the edges. Sprinkle the remaining 0.5 cup grated parmesan cheese evenly over the top—this creates that gorgeous golden crust during baking. For extra richness, I like to dot the top with 2 tablespoons of melted unsalted butter using a spoon or pastry brush.
If you're making the sweet version, dust the top with 2 tbsp powdered sugar right before baking. This creates a beautiful caramelized top while keeping the filling creamy. The pie should look like it's ready for a golden hour photo shoot—creamy, cheesy, and inviting.
🔥 Step 4: Bake to Golden Perfection
Return the pie to the oven and bake for 35-40 minutes until the top is golden brown and the center is just set (it should still have a slight wobble when gently shaken). The edges should be crispy while the center remains creamy—this is where the magic happens. If you're worried about overcooking, check at the 30-minute mark.
For the ultimate finish, broil for 1-2 minutes at the very end to get those beautiful brown spots on top. Watch it closely—broilers can be aggressive! Let the pie rest for 10 minutes before slicing. This resting time lets the filling set properly and makes it easier to cut clean slices.
Pro Tips For Making Spaghetti Pie Recipe With Eggs
- COOK SPAGHETTI AL DENTE: I used to overcook the spaghetti for this pie, thinking it’d soften more in the oven—wrong. Cook it al dente (one minute less than package instructions) so it holds its shape when baked. The eggs and cream will finish the job without turning it into mush.
- WHISK EGGS VIGOROUSLY: The mixture will look curdled at first—ignore it. Whisk the eggs, cream, and milk together until smooth, then cook them in a double boiler until they thicken to a custard consistency (170°F). This prevents a watery pie and ensures the eggs set properly.
- LAYER CHEESE LOW: Sprinkle most of the mozzarella between the spaghetti layers, but save a handful for the top. If you pile it all on top, it’ll melt into a greasy blanket instead of creating that golden, bubbly crust you want.
- BAKE UNTIL SET, NOT BROWN: Spaghetti pie needs 350°F for 40–45 minutes until the center is firm to the touch (no jiggle). If you wait for a deep brown crust, the eggs inside will turn rubbery. Pull it out when it’s just set—it’ll keep cooking with residual heat.
Pro cooking tips for this dish
Egg Mixing Mastery
The secret to a silky, lump-free filling starts with room-temperature eggs—they whisk together much smoother than cold ones. I crack mine directly into the bowl, then whisk vigorously for 2 full minutes to fully emulsify the fats.
For extra insurance, I strain the mixture through a fine-mesh sieve to catch any stubborn lumps. The key is patience—rushing this step leads to a grainy texture. 🥚
Pasta Pre-Baking Hack
Skipping the pre-bake step risks a soggy bottom, but I’ve found that toasting the pasta crust for 8-10 minutes at 375°F transforms it into a crispy, golden base. The trick? Use a 9x13-inch baking dish and spread the pasta pieces in a single layer—this ensures even browning.
Stir once halfway to prevent sticking, and resist the urge to press it down too hard. The goal is a light, airy crust, not a dense one.
Cheese Distribution
Evenly distributing the cheese is critical—uneven spots lead to a lumpy texture. I divide the 2 cups shredded mozzarella into thirds: one-third for the egg mixture, one-third sprinkled on top, and the final third reserved for garnish.
Fold the cheese into the egg mixture gently with a spatula to avoid overmixing, which can make the filling tough. For that restaurant-quality finish, I top the pie with 2 tablespoons melted butter and a final sprinkle of Parmesan before baking. 🧀
Baking Time Precision
Timing is everything—bake until the edges are golden brown and the center has just set (a slight wobble is normal). I check at the 30-minute mark and adjust the remaining time based on my oven’s hot spots.
For a crispier top, broil for 1-2 minutes at the end, but watch closely to avoid burning. The 10-minute rest before slicing ensures clean cuts and prevents the filling from sliding out. Trust me, this step makes all the difference!
Sweet vs. Savory Finish
For the sweet version, dust the top with 2 tablespoons powdered sugar right before baking—it caramelizes beautifully while keeping the filling creamy. For a savory twist, skip the sugar and add a pinch of nutmeg to the egg mixture.
I also like to garnish with fresh basil or parsley for a pop of color. The choice depends on whether you’re serving it as dessert or a main course!
Nutrition facts
Frequently asked questions
Why does this spaghetti pie need pre-baking?
The 8-10 minute pre-bake creates the perfect crispy crust that prevents a soggy bottom. When you pour the creamy egg mixture over raw pasta, it would absorb too much liquid and turn mushy. This step ensures your pie has that satisfying crunch while keeping the filling perfectly creamy. Think of it like making a crust for quiche—it needs that initial toast to hold up!
Can I make this recipe without heavy cream?
Yes! For a lighter version, substitute the 1.5 cups heavy cream with 1 cup full-fat Greek yogurt thinned with 0.5 cup milk. The texture will be slightly tangier but still rich. If you want to keep it dairy-free, use 1 cup coconut cream plus 0.5 cup milk—just know the flavor will be more subtle. The key is maintaining the same total liquid volume.
How do I know when the pie is fully cooked?
The pie is done when the edges are golden brown and the center has just set (it should still have a slight wobble when gently shaken). Insert a toothpick—it should come out clean or with just a few moist crumbs. For extra insurance, check at the 30-minute mark and adjust the remaining time based on your oven's hot spots. The 10-minute rest after baking is crucial for clean slices!
Can I add meat or vegetables to this recipe?
For a heartier version, brown 1 pound Italian sausage or diced ham first, then mix it into the egg filling. Vegetarians can add 1 cup sautéed mushrooms, bell peppers, or spinach—just drain any excess liquid to avoid a watery filling. For extra flavor, sprinkle garlic powder or Italian seasoning on top before baking. The pie's structure can handle these additions beautifully!
Why did my pie turn out too dry?
Overbaking is the most common cause—check your pie at the 30-minute mark and remove it when the center is just set. Another reason could be using too much flour (the recipe calls for just 0.5 cup to thicken). For extra moisture, stir 2 tablespoons milk into the filling before baking. If it's already baked too long, try reheating with a splash of milk or broth to restore creaminess.
