Baked leftover spaghetti turns a container of sauced pasta into a golden, satisfying casserole with a tender center and crisp edges. A little egg and cheese help the pasta hold together, while a short bake heats it through without drying it out.
Ingredients
- 4 cups cooked leftover spaghetti with sauce, about 1 pound; use refrigerated pasta, not pasta left at room temperature
- 1 large egg
- 1/2 cup ricotta cheese or cottage cheese
- 1 cup shredded mozzarella, divided
- 1/4 cup finely grated Parmesan, divided
- 1/4 teaspoon dried Italian seasoning
- 1/8 teaspoon black pepper
- 1/2 cup marinara sauce, plus more for serving if desired
- 1 teaspoon olive oil or softened butter, for the baking dish
- 2 tablespoons chopped fresh parsley or basil, optional
Instructions
- Heat the oven and prepare the dish. Set a rack in the center of the oven and heat it to 375°F (190°C). Lightly oil an 8-inch square baking dish or a similar 2-quart ovenproof dish. If your spaghetti is in a large clump, loosen it gently with a fork.
- Check the pasta’s moisture. Leftover spaghetti varies in how much sauce it contains. If it looks dry or the strands are stuck together, toss it with the 1/2 cup marinara. If it is already quite saucy, add the marinara a spoonful at a time or leave some out so the casserole does not turn watery.
- Mix the binder. In a large bowl, beat the egg. Stir in the ricotta, 1/2 cup mozzarella, 2 tablespoons Parmesan, Italian seasoning, and pepper until combined. Add the spaghetti and toss until the strands are evenly coated. Use a fork or clean hands to separate strands rather than cutting them into short pieces.
- Fill the dish. Transfer the mixture to the prepared dish and spread it into an even layer. Spoon a little extra marinara over any visibly dry spots. Sprinkle the remaining 1/2 cup mozzarella and 2 tablespoons Parmesan evenly over the top.
- Bake until hot and golden. Bake uncovered for 25–35 minutes, until the cheese is melted and browned in spots and the center is steaming. For the most reliable check, the center should reach 165°F (74°C), measured with an instant-read thermometer. If the top browns before the center is hot, loosely cover the dish with foil and continue baking.
- Rest and serve. Let the casserole stand for 5–10 minutes so it settles and is easier to portion. Scatter with parsley or basil, if using, and serve hot.
Tips
- Start with safely stored leftovers. Refrigerate cooked spaghetti within 2 hours of cooking (within 1 hour if the room is above 90°F/32°C). Use refrigerated leftovers within 3–4 days. Discard pasta that sat out longer; baking does not make improperly stored food safe.
- Adjust for the sauce you have. A thick, meat-free tomato sauce may need a little extra marinara, while a very wet sauce needs less. The mixture should be moist and cohesive, not swimming in liquid.
- Keep the egg in the mixture. It helps the slices hold together. For an egg-free version, omit it and expect softer, looser portions; add a little extra ricotta if the pasta seems dry.
- Use a thermometer when possible. Oven times vary with the dish’s depth and how cold the leftovers are. Covering loosely with foil slows top browning without trapping excessive steam for the whole bake.
Serving Suggestions
Serve warm portions with a crisp green salad dressed with vinaigrette, roasted broccoli, or sautéed green beans to balance the rich cheese. Garlic bread is a natural match if you want a heartier meal, though the casserole already contains pasta and sauce. Offer extra warm marinara and grated Parmesan at the table. For a simple lunch, pair a smaller portion with sliced tomatoes or other fresh vegetables.
Variations
Add vegetables: Fold in up to 1 cup of cooked, well-drained spinach, mushrooms, zucchini, or chopped broccoli. Cook watery vegetables first and drain them well so they do not release excess liquid in the dish.
Make it meatier: Add 1 cup of cooked crumbled sausage, ground beef, or shredded chicken. Use meat that was cooked and refrigerated safely, and mix it through the pasta before baking.
Change the cheese: Replace some mozzarella with provolone, fontina, or a mild cheddar. Ricotta gives a creamy texture; cottage cheese works too, especially if you drain off excess liquid.
Use plain leftover pasta: If the spaghetti was cooked without sauce, toss it with about 1 1/2 cups marinara before mixing in the cheese and egg. Add more only as needed to coat the strands.
Storage and Reheating
Cool leftovers promptly and refrigerate them in a covered, shallow container within 2 hours of baking. Keep at 40°F (4°C) or colder and eat within 3–4 days. Do not leave the casserole at room temperature for more than 2 hours total, or more than 1 hour in temperatures above 90°F (32°C).
Reheat only the portion you plan to eat. In a microwave, cover loosely and heat in short intervals, stirring or turning the portion if practical, until steaming hot throughout and at least 165°F (74°C). To reheat a larger amount, cover the baking dish with foil and warm in a 350°F (175°C) oven; individual portions usually take about 15–20 minutes and a larger portion may take 20–30 minutes, depending on depth and starting temperature. Check the center with a thermometer. Add a spoonful of water or marinara before reheating if the pasta looks dry. Reheat leftovers only once for best quality and safety.
You can freeze baked portions in airtight, freezer-safe containers for up to 2 months for best quality. Thaw overnight in the refrigerator and reheat to 165°F (74°C); the texture may be a little softer after freezing. Do not thaw the casserole on the counter.
Frequently Asked Questions
Can I bake spaghetti straight from the refrigerator?
Yes. This recipe is designed for cold, refrigerated leftovers. Allow roughly 25–35 minutes in the oven, but use the center temperature of 165°F (74°C) rather than the clock alone to confirm it is hot throughout.
Can I make this without ricotta?
Yes. Substitute cottage cheese, or use an equal amount of plain Greek yogurt for a tangier result. If you have neither, increase the mozzarella by about 1/2 cup; the casserole will be less creamy but will still bake.
Why did my baked spaghetti turn out dry?
The original pasta may have had too little sauce, or the casserole may have baked too long. Add marinara gradually until the strands look moist before baking, cover loosely with foil if the top browns early, and take it out once the center reaches 165°F (74°C).
Can I assemble it ahead?
You can mix and assemble the casserole, cover it, and refrigerate it for up to 24 hours before baking. Bake it cold, allowing extra time as needed, and verify that the center reaches 165°F (74°C). Do not leave the assembled dish at room temperature while waiting.
Can I use spaghetti with meat sauce?
Yes, provided it was cooked and stored safely. The meat is reheated along with the rest of the casserole, so check the center reaches 165°F (74°C). Since meat sauce can be rich and moist, add extra marinara only if the pasta looks dry.
Do I have to use an 8-inch square dish?
No. A similar-capacity ovenproof dish works. A wider, shallower dish cooks faster and gives more browned edges; a deeper dish takes longer to heat through, so check the center temperature before serving.