Spaghetti Pie with Pecorino and Black Pepper
Discover a savory twist on classic pasta: a crispy, cheesy spaghetti pie with bold pecorino and cracked black pepper.

Celebrating the iconic flavors of cacio e pepe, this savory spaghetti pie offers a delightful balance of pecorino cheese and cracked black pepper in an oven-baked, sliceable form. Easy to customize with greens or extra cheeses, it’s an impressive centerpiece for any meal or gathering.
Why Spaghetti Pie?
Transforming a beloved Roman pasta into a comfort-style pie, this recipe offers:
- Hearty Flavor: A blend of sharp pecorino and creamy fontina creates a luscious, cheesy bite.
- Customizable: Add greens like broccoli rabe for color and nutrition, or keep it classic.
- Convenient: Easily assembled ahead and perfect for brunches, dinners, or potlucks.
Origins and Inspiration
This spaghetti pie draws inspiration from classic cacio e pepe, a Roman pasta dish renowned for its simplicity and punchy flavors. By binding the spaghetti with eggs and milk, baking in a springform pan, and boosting with fontina, it creates crispy edges and a cheesy center. The addition of greens is a modern, optional twist for texture and color.
Key Cooking Tips
- Al Dente Matters: Stop boiling the spaghetti two minutes before it is done. The pasta continues cooking in the oven—overcooked noodles will turn mushy.
- Springform Protection: Wrap your springform pan tightly in aluminum foil, especially at the seam, or risk cheese and custard leaking onto your oven floor.
- Optional Greens: If adding greens (like broccoli rabe), ensure they’re well-drained and wrung dry; excess moisture will affect pie setting time and texture.
- Cheese Selection: Use aged pecorino for its intensity and saltiness; fontina brings gentle melt. Parmesan is a passable substitute but may call for extra salt.
Ingredients
- Butter (for greasing springform pan)
- 1/2 pound broccoli rabe (chopped into segments; optional)
- 1 pound dried spaghetti
- 1 1/2 cups milk
- 3 large eggs, lightly beaten
- 2 to 3 teaspoons freshly ground black pepper
- 2 teaspoons coarse or kosher salt
- 8 ounces aged pecorino cheese, finely grated (divided)
- 8 ounces fontina cheese, grated (divided)
Step-by-Step Instructions
1. Prep the Pan and Oven
- Heat oven to 425°F (220°C).
- Butter a 9-inch springform pan generously.
- Wrap the outside in aluminum foil, focusing on where the ring meets the base, to prevent leaks.
2. Blanch Optional Greens
- Bring a large pot of well-salted water to a boil.
- If including broccoli rabe, add to water and boil 1–2 minutes until slightly tender.
- Remove with a slotted spoon, drain well, and set aside.
3. Cook the Pasta
- Add spaghetti to boiling water and cook until 2 minutes shy of al dente.
- Drain thoroughly and let cool slightly.
- If you used greens, squeeze out all excess moisture (using kitchen towels). Mince into tiny bits.
4. Make the Custard
- In a large bowl, whisk together eggs, milk, salt, and pepper.
- Stir in all but 1/2 cup of each cheese and (if using) the chopped greens.
- Add drained spaghetti and toss until evenly coated.
5. Assemble and Bake
- Pour the mixture into your prepared springform pan.
- Sprinkle the top with reserved cheese.
- Bake 35–40 minutes (without greens), or up to 15 minutes longer (with greens), until cheese is bubbling and a knife inserted into the center reveals no runny egg mixture.
- If the top browns quickly, cover loosely with foil until center is set.
6. Finish Under the Broiler
- Turn on the broiler. Broil a few minutes to brown the top lightly.
- Carefully loosen the pie from the springform ring and remove the ring. Use a spatula to slide under the base, then transfer the pie onto a serving plate. Slice into wedges.
Recipe Variations and Serving Tips
- Cheese Choices: Swap in cheddar for fontina for a bolder flavor. Parmesan can replace pecorino in a pinch; adjust salt accordingly.
- Adding Greens: Broccoli rabe, kale, or spinach give color and nutrients. Serve them on the side if you prefer a pure cacio e pepe profile.
- More Filling: Mix in pancetta, sautéed onions, or roasted red peppers for a heartier main dish.
- Texture Tweaks: For a more custardy pie, add an extra egg and 1/2 cup milk, increasing baking time as needed.
Pasta Pie Serving Suggestions
- Perfect as a weekend brunch, casual supper, or potluck contribution.
- Serve with a crunchy green salad or garlicky sautéed greens for contrast.
- Refrigerate leftovers and reheat slices in the oven for optimal texture.
Nutritional and Dietary Notes
- Vegetarian when using only cheese and greens.
- Not gluten-free; use gluten-free spaghetti for a modified version.
- For a lighter dish, select low-fat cheeses and milk, but expect some reduction in creaminess.
Common Mistakes and Troubleshooting
- Leaking Pan: Always double-wrap the pan with foil, or you risk losing cheese and custard to your oven.
- Mushy Pasta: Undercook spaghetti on the stove since it will bake further.
- Wet Pie: Extra moisture from greens can make setting tricky; dry thoroughly and blot greens on paper towels.
- Uneven Setting: If edges cook faster than center, tent with foil and bake a little longer, checking frequently.
Table: Essential Ingredients and Alternatives
| Ingredient | Purpose | Possible Substitutes |
|---|---|---|
| Pecorino Romano | Salty, tangy cheese flavor | Parmesan (add extra salt) |
| Fontina | Melty, creamy texture | Cheddar, mozzarella, Gruyère |
| Broccoli rabe | Earthy, slightly bitter, color | Spinach, kale, omit for classic version |
| Eggs | Binding, custard | Extra egg whites for lighter texture |
| Milk | Moisture, creates custard | Half and half for richness, almond milk for dairy-free |
Make-Ahead and Storage Tips
- The pie can be assembled up to a day ahead and refrigerated, then baked before serving.
- Leftovers keep well, tightly wrapped, in the fridge for up to 3 days. Reheat in oven slices for best texture.
Frequently Asked Questions (FAQs)
Q: Can I use any other pasta shape?
A: Stick to long, sturdy shapes like linguine or bucatini for best structure. Short pastas tend to fall apart or compact unevenly.
Q: Is it possible to make this pie gluten-free?
A: Yes! Substitute with gluten-free spaghetti and follow the rest of the instructions as written.
Q: What’s the best way to get the pie out of the pan?
A: Loosen the edge with a knife, carefully unlatch the springform, then slide a thin spatula below the base to loosen and transfer to a serving plate.
Q: Are there ways to make it lighter or lower in calories?
A: Use reduced-fat cheeses and milk or add more vegetables instead of extra cheese. Flavor and texture will be lighter.
Q: Can I freeze spaghetti pie?
A: It’s best fresh, but you can freeze cooled slices for up to 2 months. Thaw in fridge and reheat in the oven for best results.
Final Thoughts: Why This Pie Works
This spaghetti pie with pecorino and black pepper successfully reimagines a classic flavor pairing in an unexpected, festive format. The crispy outside contrasts beautifully with a tender, cheesy center; its adaptability ensures both traditionalists and experimenters find something to savor. Whether made ahead for a crowd or as a weeknight treat, this golden pie is sure to become a household favorite.










