Baked Spaghetti
Updated September 30, 2025
- Total Time
- 1½ hours, plus cooling
- Prep Time
- 15 minutes
- Cook Time
- 1¼ hours
- Rating
- Comments
- Read comments
Advertisement
Ingredients
Unsalted butter, for greasing the pan
Kosher salt (such as Diamond Crystal) and black pepper
1 pound spaghetti
2 tablespoons olive oil
1 large yellow onion, chopped
2 tablespoons minced garlic (about 5 cloves)
2 teaspoons chopped fresh thyme or rosemary, or 1 teaspoon dried
1 ½ teaspoons dried oregano, plus more for serving
¼ teaspoon red-pepper flakes, plus more to taste
1 pound ground beef (at least 85-percent lean)
1 (32- to 35-ounce) jar marinara sauce
½ cup fresh basil or parsley leaves, chopped, plus more for serving
1 cup/8 ounces ricotta cheese
¾ cup grated Parmesan
1 large egg
2 cups/8 ounces shredded low-moisture mozzarella
Preparation
- Step 1
Heat the oven to 350 degrees and grease a 9-by-13-inch baking dish with butter. Bring a large pot of salted water to a boil. Add the spaghetti and cook according to the package directions until 1 minute shy of al dente.
- Step 2
While the water comes to a boil, heat the olive oil in a large, heavy-bottomed pot or Dutch oven over medium. Add the onion and cook, stirring occasionally, until tender, 6 to 8 minutes. Add the garlic, thyme, oregano, red-pepper flakes, 1 ½ teaspoons salt and a few grinds of black pepper, and cook until fragrant, about 1 minute.
- Step 3
Add the beef and cook, breaking up the meat with a wooden spoon, until browned, about 5 minutes.
- Step 4
Turn off the heat and stir in the marinara sauce and basil. Drain the spaghetti, add it to the sauce and toss well.
- Step 5
In a small bowl, combine the ricotta, ½ cup of the Parmesan, the egg and ¼ teaspoon salt. Mix with a fork until smooth.
- Step 6
Transfer half the pasta and sauce to the prepared baking dish and smooth it into an even layer. Dollop the ricotta mixture onto the pasta in large spoonfuls, then sprinkle 1 cup of the mozzarella on top. Add the rest of the pasta and sauce to the pan, again smoothing it into an even layer.
- Step 7
Cover the pan with aluminum foil and bake for 40 minutes. Sprinkle the remaining 1 cup mozzarella and the remaining ¼ cup Parmesan on top, then bake, uncovered, until the mozzarella has melted, 5 to 10 minutes more.
- Step 8
Cool for 5 minutes, then serve with more chopped basil, a pinch of dried oregano and more red-pepper flakes, if desired. Slice the baked spaghetti into large squares and serve hot or warm.
Private Notes
Comments
Classic! Whenever I use marinara from a jar, I rinse the jar out with 1/2 cup of red wine, which I add to the sauce. It transforms any off-the-shelf marinara.
I've been doing something similar for years using penne pasta, not spaghetti. Layer with marinara on the bottom, 1/2 lb. of par-cooked pasta, browned sausage, seasoned ricotta/mozzarella mixture, another layer of penne, marinara, mozzarella, and grated pecorino Romano. It beats wrestling with lasagna noodles and tastes just as good!
My mother and my aunts of Sicilian ancestry, living in the coal region of Northeastern PA, would bring this dish to every summer picnic. We called it baked macaroni. All forms of pasta were considered macaroni and the word pasta was never heard in our homes. And we made the meat sauce from scratch. I have to say there is nothing better than this for comfort food.
If you use jarred sauce, read the ingredients. Do not buy one with any kind of sugar (corn syrup) with a short ingredient list. Same with cheese. Get fresh cheese sliced at the deli, not packaged. Add your own "extras" like oregano, garlic powder, sun dried tomatoes, tomato paste, and blend before pouring. Most of the Italian-Americans I grew up with had their own family recipe for tomato sauce (gravy) and cooked the pasta (macaroni) softer than al dente.
Made last night & had it again for dinner this evening--more tasty the second day. Really enjoyed that it used spaghetti (as opposed to penne, rigatoni or macaroni) and appreciated the herb intensive approach. I lightened up by using ground turkey, Protein Plus Spaghetti, sauteed diced zucchini & carrots with the onions, used olive oil to grease the baking dish, omitted the egg from the ricotta (but added fresh herbs) & cut the mozzarella by 1/2 cup. Even with the changes, still comfort food.
This was out of this world. Easy. Delicious beyond measure. I made it with fresh chicken Italian sausage, next time I'll alternate and use hamburger, then switch back to sausage. The ricotta (full fat) is what makes this dish dreamy. We used to make something like this growing up, but nice to have a guide and to refresh my memory. This recipe is a keeper! I made a half recipe, 6 good portions, used RAO jar marinara - baked in 1.5qt casserole w/lid. YUM!


