Breakfast & Brunch
This baked spaghetti recipe with egg and parmesan cheese delivers the ultimate breakfast comfort—crispy golden edges that shatter like a perfect crust while hiding creamy, silky egg ribbons beneath. The secret lies in undercooking the pasta slightly and layering everything just right so every bite has that restaurant-quality texture contrast. I developed this after years of testing, and it never fails to impress, even with basic cooking skills.
What makes this dish special is how simple yet transformative it is: no fancy sauces, just egg, cheese, and perfectly cooked spaghetti that absorbs flavor while maintaining bite. The key technique involves beating eggs with a splash of milk for extra richness, then sprinkling parmesan generously on top before baking. This creates that coveted crispy crust while keeping the interior tender and eggy—like a cross between lasagna and shakshuka.
The result is a dish that's hearty enough for brunch but quick enough for weeknight dinners. The crispy top gives way to creamy egg strands clinging to al dente pasta, all blanketed in melted cheese. It reheats beautifully too, making it ideal for meal prep when you need something satisfying without the fuss. Perfect for feeding a crowd or treating yourself to a luxurious breakfast.
This recipe works equally well with store-bought or homemade pasta—just don't overcook it. The egg mixture should be smooth but slightly thickened, and the cheese should be a mix of shaved parmesan and grated cheddar for that perfect balance of nutty and sharp flavors. Trust me, once you try this version, you'll never go back to plain scrambled eggs again.
Ingredients for baked spaghetti recipe with egg and parmesan cheese
Six simple ingredients transform into a brunch showstopper with crispy edges and creamy egg ribbons.
| Ingredient | Amount | Notes |
|---|---|---|
| Spaghetti 🍝 | 12 oz | Al dente, slightly undercooked |
| Large Eggs 🥚 | 6 whole | Room temperature for even mixing |
| Whole Milk 🥛 | ¼ cup | For extra richness |
| Parmesan Cheese 🧀 | 1 ½ cups | Freshly grated from block |
| Sharp Cheddar Cheese 🧀 | 1 cup | Shredded, for balanced flavor |
| Garlic Cloves 🧄 | 2 cloves | Minced for subtle depth |
| Olive Oil 🫒 | 2 tbsp | Extra-virgin for richness |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground for best flavor |
| Fresh Basil Leaves 🌿 | ¼ cup | Chopped, for fresh aroma |
| All-Purpose Flour 🌾 | 1 tbsp | For crispy crust (optional) |
The Parmesan is non-negotiable—freshly grated from a wedge (pre-grated gets clumpy and lacks flavor). I always grab a 24-ounce block from the deli counter—it makes all the difference. The cheddar should be sharp, not mild, for that perfect tang. Trader Joe's has great pre-shredded cheddar if you're short on time, but grating your own is worth the extra minute. For the spaghetti, De Cecco or Barilla are my go-tos—they hold up better to undercooking. And trust me on the room-temperature eggs—they mix so much smoother, no streaks in the final dish.
No Parmesan wedge? Parmigiano-Reggiano from the bulk bin is your next best bet. Sharp white cheddar works too if you're avoiding dairy, but the flavor won't be the same. Milk substitute? Use whole coconut milk for richness, but expect a slightly sweeter taste. The garlic can be skipped if you're sensitive to it, but I promise the minced kind blends right in. Basil hater? Swap for dried oregano at half the amount—it’s a classic combo. And if you’re worried about the crispy top, that flour sprinkle is your secret weapon (don’t skip it!).
This dish reheats like a dream—honestly, it’s even better the next day. Store leftovers in an airtight container for up to 4 days, but I usually eat it all before then. Freeze portions if you’re prepping for the week—just thaw overnight in the fridge. The Parmesan wedge? Wrap it in parchment and foil—keeps for weeks in the fridge. And if you’re making this ahead, assemble the dish but don’t bake it—keep it covered in the fridge for up to 24 hours before baking. Game-changer for meal prep!
Why You'll Love This Recipe
- One-Pan Magic: I swear by this recipe when I’m too tired to scrub pots—just toss cooked spaghetti with beaten eggs, milk, and grated cheeses, then bake. The eggs bind everything together while the cheeses melt into a golden crust, and honestly? No strainer, no colander, no stress.
- Creamy Cheese Hug: That combo of sharp cheddar and nutty parmesan? It’s like a warm, melty embrace for your pasta. The eggs add richness without needing heavy cream, and the milk keeps it silky—no dry, rubbery texture here.
- Lunchbox Hero: Between us, this is my go-to for meal prep. Bake a big tray on Sunday, slice it up, and pack portions for work or school. The cheeses hold up surprisingly well, and kids (or my husband) will actually eat it cold—no weird faces.
- Budget Stretch: I make this instead of takeout, and it feeds four for under $10. Eggs and milk are cheap staples, and a little parmesan goes a long way when mixed with cheddar. Leftovers? Even better reheated than the first time.
Step-by-step instructions for baked spaghetti with egg and parmesan
Here's how to create that perfect golden crust and creamy egg ribbon combination everyone loves.
Cook the Spaghetti Al Dente
Bring a large pot of water to a rolling boil and add 1.5 teaspoons salt. Once boiling, add the 12 oz spaghetti and cook for 1 minute less than the package instructions suggest. You want it slightly undercooked because it'll finish cooking in the oven. When the spaghetti is al dente, drain it in a colander but don't rinse—those starchy strands help create the creamy sauce later.
While the pasta is still hot, transfer it to a large mixing bowl. Add 2 tablespoons olive oil and toss vigorously with tongs to coat each strand evenly. This step prevents the pasta from sticking together and helps distribute the oil for that perfect crispy top later. I like to do this right away while the pasta is still hot and pliable.
Create the Egg Cheese Mixture
In a separate bowl, whisk together the 6 whole large eggs, 0.25 cup whole milk, 1.5 cups parmesan cheese, 1 cup sharp cheddar cheese, 0.5 teaspoon black pepper, and 1 tablespoon all-purpose flour. The mixture should be smooth and slightly thick—like a thick custard. I find it's best to use a whisk for this step to fully incorporate all the ingredients without creating lumps.
Here's the thing—room temperature eggs mix better, so if your eggs are straight from the fridge, let them sit at room temperature for about 15 minutes before mixing. This ensures a smoother texture in your final baked spaghetti. You'll know it's ready when the mixture coats the back of a spoon but still holds its shape.
Combine Pasta and Egg Mixture
Add the hot spaghetti to the egg mixture and toss everything together with your hands or tongs. You want to make sure every strand of pasta is well coated with the egg and cheese mixture. I like to work quickly here—this is when the pasta starts to cool, and we want to keep it warm as long as possible. The mixture should be sticky and hold together when pressed between your fingers.
Transfer the entire mixture to a 9x13-inch baking dish (or similar size). Press down gently but firmly to create an even layer. This helps ensure even cooking and that crispy top we're after. I like to use my hands for this step—it gives me the best control over how tightly packed the spaghetti is.
Add Garlic and Basil
Sprinkle the 2 cloves minced garlic and 0.25 cup chopped fresh basil leaves evenly over the top of the spaghetti mixture. The garlic adds that subtle depth of flavor, while the basil brings freshness that cuts through the richness. Don't skip this step—the fresh basil makes all the difference in the final dish.
Give the baking dish a gentle shake to help distribute the garlic and basil evenly. This is also a good time to do a final check—make sure the top looks smooth and even. If you see any dry spots or uneven areas, give it one more quick toss with a spatula to ensure everything is well coated.
Bake to Golden Perfection
Preheat your oven to 375°F. Bake the spaghetti for 25-30 minutes until the top is golden brown and the edges are crispy. The center should still be slightly jiggly—this indicates it's perfectly cooked through. If you're worried about it browning too quickly, tent the dish with foil for the last 10 minutes of baking to help it cook through evenly.
Here's where the magic happens: the egg mixture will create beautiful ribbons when you cut into it, and the top should be crispy enough to hold its shape. Let the spaghetti rest for 5 minutes before serving—this helps the egg set completely and makes it easier to cut clean slices. Serve immediately while it's still warm and the egg ribbons are at their best!
Pro Tips For Making Baked Spaghetti Recipe With Egg And Parmesan Cheese
- Drain and Toss Immediately: The second your spaghetti hits al dente, drain it and toss it straight back into the pot with a splash of cold water—about ¼ cup—and a tablespoon of olive oil. This stops the cooking while keeping the strands from sticking together like glue. I learned this the hard way after trying to mix in eggs and cheese with clumped spaghetti and ending up with a sad, gummy mess.
- Grated Cheese Only: Skip the block cheese unless you’re feeling ambitious. Pre-grated cheeses (especially Parmesan) come with anti-caking agents that make the sauce grainy and watery when baked. If you’re using sharp cheddar, grate it yourself—just a few minutes with a box grater makes all the difference. And for Parmesan, buy the kind labeled "shredded" for cooking, not the fine dust you’d use for garnish.
- Low and Slow First: Don’t blast that casserole dish on high right away. Start with 325°F for the first 20 minutes to let the eggs set gently without curdling. After that, crank it up to 375°F for the last 15-20 minutes to get a golden crust. I used to rush this and ended up with a rubbery top or eggs that looked like scrambled leftovers.
- Preheat Your Dish: Pop your baking dish in the oven while it’s still cold and let it heat up for 5 minutes before adding your spaghetti mixture. This ensures even cooking and prevents the bottom from sticking or burning. Yes, it’s an extra step, but your future self will thank you when the dish slides out cleanly instead of gluing itself to the pan.
Dietary considerations for this dish
Gluten-Free Adaptation
Replace the 12 oz spaghetti with gluten-free spaghetti—brands like Barilla GF or De Cecco GF work beautifully. Cook it 1 minute less than regular pasta since GF noodles often require longer cooking. For extra crispiness, toss the cooked GF pasta with 1 tbsp cornstarch before mixing with the egg-cheese blend. This helps mimic the starchy texture that creates the golden crust. 🍝
Dairy-Free Options
Swap the parmesan and cheddar for nutritional yeast (½ cup) and sharp vegan cheddar (like Violife). Use unsweetened almond milk instead of whole milk—it adds richness without dairy. For a cheesy flavor boost, add 1 tbsp lemon juice to the egg mixture to enhance umami. The texture will be slightly lighter but still creamy and satisfying.
Lower-Carb Version
Cut 4 oz of spaghetti and replace the rest with shredded zucchini (about 2 cups, lightly sautéed). The zucchini adds moisture and bulk while reducing carbs. For extra protein, stir in ½ cup cooked lentils into the egg-cheese mix. This version keeps the crispy top but with ~20g net carbs per serving instead of 50g. 🥦
Egg-Free Alternative
For an egg-free version, blend ½ cup silken tofu with 2 tbsp nutritional yeast and 1 tbsp cornstarch until smooth. Use this instead of eggs in the cheese mixture—it binds just as well when baked. Add 1 extra tbsp flour to help thicken the mixture. The texture will be slightly denser but still hold together beautifully when baked.
Allergen-Friendly Tips
Always check labels on cheese and milk substitutes for hidden allergens. For nut-free kitchens, avoid almond milk—opt for oat milk instead. If you're sensitive to sulfites, use freshly grated parmesan (pre-grated often contains preservatives). For soy-free, ensure your tofu substitute (if used) is certified soy-free. Cross-contamination is key—clean all surfaces and utensils before prepping.
Nutrition facts
Frequently asked questions
Why does the pasta need to be slightly undercooked?
Undercooking the spaghetti by 1 minute ensures it finishes cooking in the oven while absorbing the egg-cheese mixture perfectly. This creates that signature al dente bite and prevents a mushy texture. The residual starch also helps bind everything together for that creamy, cohesive result.
Can I make this ahead of time?
Assemble the dish in your baking dish, cover tightly with plastic wrap, and refrigerate for up to 24 hours before baking. When ready, bake at 375°F for 30-35 minutes (covered with foil for the first 20 minutes to prevent over-browning). The flavors actually improve overnight!
What if my top isn't crispy enough?
Try these fixes: 1) Increase baking time by 5 minutes at 375°F, 2) Sprinkle 1 extra tbsp flour over the top before baking, or 3) Broil for 1-2 minutes at the end (watch closely!). The key is getting that golden brown color—it should be crispy but not burnt.
Can I use different cheeses?
Yes! For a creamy texture, try monterey jack or fontina instead of cheddar. For extra flavor, add ½ cup goat cheese to the egg mixture. Just avoid pre-shredded cheese—it contains anti-caking agents that prevent proper melting. Freshly grated always wins!
How do I serve this for a crowd?
Double the recipe and use two 9x13-inch baking dishes. For easy serving, cut into 1-inch squares and arrange on a platter with extra grated parmesan. Pair with a simple arugula salad and crusty bread. Pro tip: Preheat serving plates in the oven while baking to keep everything warm!
