This Vegetarian Baked Spaghetti is made extra cheesy with both mozzarella and ricotta cheese. There's no boiling of the noodles required, making it a super easy, one-pan dinner recipe the whole family will love!
Preheat oven to 375°F. In a 9x13 pan, combine crushed and diced tomatoes, vegetable stock, shallot, garlic, red pepper flakes, oregano, basil, parsley, onion powder, and salt. Stir to fully mix together. Add spinach if using.
Place spaghetti noodles in the pan, "wiggling" them around with a fork or your clean hands until they are surrounded by the sauce. Move them around to prevent any sticking together during the baking process. It's really important to make sure the noodles are incorporated in the sauce so they cook evenly. Top with butter, if using.
Bake for 18-22 minutes, stirring several times throughout, to ensure the noodles are not sticking together and that they cook all around. It works best to use a fork, holding it up and down, to separate the noodles and "swish" them around to ensure they're not sticking together.
After the first bake, place dollops of the ricotta cheese on top of the spaghetti. I like to add a sprinkle of salt on the ricotta - it helps bring out its flavor. Then sprinkle the mozzarella cheese across the top. Return the pan to the oven and bake for an additional 20-25 minutes until the cheese is melted and the sauce is bubbly. I recommend using the fork method to gently "stir" the noodles a couple of times throughout this bake, too. If desired, turn on the broiler for a few minutes to further brown the cheese.
Let the spaghetti cool for 5-10 minutes before serving. I like to use a large spatula to cut squares, similar to lasagna, to serve. Top with parsley or basil as a garnish, and additional parmesan cheese as desired. Store any leftovers in an airtight container in the fridge for up to 4 days.
Notes
If your ricotta has extra liquid on top, drain it before adding to the spaghetti.
Spaghetti: I've tested this recipe with basic spaghetti noodles, both Barilla, and regular store brand noodles. If your noodles have a traditional cook time (stated on the box) longer than 10 minutes, you may need to bake the spaghetti longer to achieve al dente noodles.