Step 1 – Cook the Pasta
Bring a pot of salted water to boil. Cook pasta until just al dente. Drain and set aside.
Step 2 – Prepare the Sauce
In a large skillet, heat olive oil over medium. Sauté onion until soft. Add garlic, then brown the beef or sausage. Stir in oregano, red pepper flakes, marinara sauce, crushed tomatoes, and basil. Simmer for 15–20 minutes.
Step 3 – Assemble the Layers
In a greased baking dish, spread half the pasta, half the sauce, dollops of ricotta, and mozzarella. Repeat with remaining pasta and sauce. Top with mozzarella and parmesan.
Step 4 – Bake Until Bubbly
Cover with foil and bake at 375°F (190°C) for 20 minutes. Remove foil and bake another 10–15 minutes, until golden and bubbling.
Step 5 – Rest and Serve
Let baked ziti rest 5–10 minutes before serving so the layers set.