Easy Baked Spaghetti with Creamy Pesto
Easy baked spaghetti made with ground beef, marinara sauce, mozzarella cheese, and a hidden layer of creamy pesto sauce in the middle. Pure comfort! Jump to the Easy Baked Spaghetti Recipe or read on to see our tips for making it.
This baked spaghetti has everything we love about baked pasta. There’s noodles, a hearty meat sauce, lots of cheese, and we even add a layer of sour cream mixed with basil pesto to the middle. This baked spaghetti is a crowd-pleaser!
You may also enjoy our meaty lasagna recipe with Italian sausage, ground beef, and cheese. Jump to the full Sausage and Beef Lasagna Recipe.
How to Make the Best Baked Spaghetti
This baked pasta recipe comes together quickly. We love pasta and red sauce, but we love it even more after adding sweet cooked onions and ground beef. You can use homemade marinara sauce — here’s our version — or use jarred spaghetti sauce.
To make the meat sauce, cook onions and ground beef until the beef is browned. (We’ve made this recipe with ground chicken and ground turkey before, both are excellent). Add the marinara sauce, bring it to a simmer, and then toss with cooked spaghetti.
Here’s a tip: Undercook the spaghetti by 1 to 2 minutes. This way, when we toss it with the marinara sauce and bake, the pasta won’t become mushy.
You can add the spaghetti and meat sauce to a baking dish and top with cheese, but to make this the best baked spaghetti, add a creamy pesto layer to the middle.
To make it, mix sour cream with basil pesto. Add half of the spaghetti and sauce to a baking dish then spread the creamy pesto on top. Finish by adding the remaining pasta on top.
To finish, add lots of mozzarella cheese to the top and bake until bubbly.
Quick and easy baked ziti recipe with fresh spinach, artichokes, and a creamy pesto layer (just like this recipe). Jump to the Easy Baked Ziti Recipe.
Recipe updated, originally posted November 2012. Since posting this in 2012, we have tweaked the recipe to be more clear. – Adam and Joanne
Easy Baked Spaghetti with Creamy Pesto
- PREP
This delicious and baked spaghetti has ground beef, marinara sauce, and a middle layer of creamy pesto. If you are like us, this will become your new favorite meal! Consider swapping the ground beef for sausage, ground chicken or ground turkey. To make this meatless, remove the beef – the spaghetti will still be delicious. You could also add some cooked vegetables like mushrooms and zucchini.
You Will Need
1 pound pasta, such as spaghetti or linguini
1 tablespoon olive oil
1 medium onion, chopped
1 pound lean ground beef
6 cups marinara sauce, see our homemade marinara sauce recipe (or substitute with two 26-ounce jars store-bought sauce)
3/4 cup sour cream
1/4 cup basil pesto, see our homemade basil pesto recipe
4 ounces mozzarella cheese, coarsely grated (about 1 cup)
Salt and fresh ground black pepper
Directions
- Prepare Pasta
- To Finish
Heat oven to 350 degrees F. Butter a 3-quart baking dish or spray with non-stick cooking spray.
Bring a large pot of salted water to the boil, add the pasta then follow package directions, but cook 1 to 2 minutes less than the package calls for. Drain.
Meanwhile, heat the olive oil in a large skillet with sides. Add onions and cook until translucent, about 5 minutes. Add the ground beef and cook until browned, about 10 minutes. As the beef cooks, use a wooden spoon to break the beef up into small pieces in the pan. Season with 1/4 teaspoon of salt and a few grinds of black pepper.
Drain excess fat from the beef. Pour in the marinara sauce and cook until heated through. Take the pan off of the heat and add the cooked and drained pasta. Toss well then taste for seasoning and adjust with salt and black pepper.
In a small bowl, stir sour cream and basil pesto together until well blended.
Spoon half of the pasta into the baking dish. Spread the sour cream and pesto mixture over the pasta and scatter with half of the mozzarella cheese. Top with the remaining pasta, lightly press everything down into the baking dish and then scatter spread remaining mozzarella cheese on top.
Place the baking dish onto an aluminum-lined baking dish (just in case any sauce drips over the sides of the baking dish). Bake until the cheese has melted and the sauce is bubbling; about 30 minutes. Let stand about 10 minutes before serving.
Adam and Joanne's Tips
- If making ahead, you can cover and refrigerate, unbaked up to 2 days. When you cover, use parchment or wax paper between the spaghetti and aluminum foil. Aluminum foil can react with the tomatoes.
- The meat sauce can be made in advance and should last in your refrigerator up to 3 days and in your freezer for about three months. We recommend using freezer-safe glass containers, or double layers of freezer bags to store sauces. To thaw, leave it overnight in the refrigerator.
- Baked spaghetti also freezes well. Let it cool completely on a rack before freezing, and then wrap it very well with foil (we use two layers). Defrost the frozen spaghetti overnight in the refrigerator and then bake at 350 degrees F for about 1 hour.
If you make this recipe, snap a photo and hashtag it #inspiredtaste — We love to see your creations on Instagram and Facebook! Find us: @inspiredtaste
Don’t Miss Our Latest Recipe

Your New Favorite Chicken Salad Recipe
Say hello to your new favorite recipe for chicken salad. It combines perfectly tender chicken, crunch from veggies and nuts, a little sweetness, and the easiest creamy dressing. Read More…
bennergirl
I’m looking forward to making this tonight! I was thinking of adding some zucchini and squash to the marinara but not sure if it will bake nicely or how it would turn out, also what’s the cream cheese alternative that everyone is raving about? 😃
Love the added twist of cream cheese and pesto topping. I substituted mushrooms for the meat to give the dish a healthier basis. Will definitely keep this recipe in my collection.
Love your changes!
I tried it with beef and sausage,topped it off with swiss, mozarella and cheddar jcak cheese…divine
Had it for dinner tonight and it was AWESOME. I used ricotta cheese instead of sour cream. Yum-o. Thank you for the recipie.
Awesome! So glad you enjoyed it 🙂
I’m trying this tonight, Joanne. Looks delicious! Thanks for sharing the recipe.
Of course, hope you love it 🙂