
Of everything on this hub, this is the most literal swap: a gluten free pasta, usually rice or corn based, standing in exactly where regular ziti would go. The sauce, the cheese, and the bake are unchanged. The one adjustment is cook time, since gluten free pasta tends to go from underdone to mushy faster than wheat pasta.
Undercook the pasta slightly before it goes into the oven. It finishes cooking in the sauce during the bake, and starting it too soft guarantees a mushy final dish. Double check that both the jarred marinara and the beef stock, if using pre-made, carry a gluten free label, since some sauces are thickened with wheat flour and some stocks include barley malt or wheat-derived flavorings.
A Short History
Baked pasta dishes layering cooked pasta with cheese and sauce and finishing in the oven trace back to Southern Italian home cooking, where a baked casserole of pasta was a practical way to stretch a Sunday sauce across a family meal and use up odds and ends of cheese.
Gluten free pasta itself is a much newer development, only becoming widely available and reliably good in texture over the past fifteen to twenty years as rice, corn, and legume-based blends improved. Swapping it into a classic baked ziti keeps the dish's structure and flavor intact while making it accessible to anyone avoiding gluten.
The Four Components
- Protein. Ricotta and mozzarella, plus ground beef or Italian sausage if using.
- Starch. Gluten free ziti or penne.
- Vegetable. Garlic and basil in the sauce.
- Sauce. A marinara sauce, checked or made from scratch.
Choosing the Gluten Free Pasta
Rice-based and corn-based pastas hold their shape best in a baked dish like this, since they are sturdier than some bean or lentil-based pastas, which can turn grainy or fall apart after a full bake. Check the box for a brand that lists a firm, al dente cook time rather than a mushy one, and lean toward the shorter end of the range when boiling.
Because gluten free pasta shapes vary more by brand than wheat pasta does, check the box's suggested cook time as a starting point rather than a rule, and taste a piece a minute or two before the package time is up. It should still have a slight bite, since it will keep cooking once it goes into the oven under the sauce and cheese.
The Technique That Makes It: Undercooking the Pasta
Wheat pasta has some tolerance for overcooking, gluten free pasta does not. Its starches break down faster once fully cooked, so a piece boiled to perfect al dente and then baked for twenty five minutes under sauce and cheese will often turn soft and mushy by the time it comes out of the oven.
Pulling the pasta a minute or two before the package's suggested time, while it still has a firm bite, builds in room for the second round of cooking it gets in the oven. This is the single adjustment that separates a good gluten free baked ziti from a disappointing one, everything else in the recipe behaves the same as a wheat-based version.
Baked Ziti with Gluten-Free Pasta
Serves four. Prep fifteen minutes, cook thirty minutes, total about forty five minutes.
Ingredients
Protein
- 1 lb ground beef or Italian sausage (optional)
- 1 1/2 cups ricotta cheese
- 2 cups shredded mozzarella, divided
- 1/4 cup grated parmesan
- 1 egg
Starch
- 12 oz gluten free ziti or penne
Vegetable
- 3 cloves garlic, minced
- Fresh basil, to finish
Sauce
- 1 (24 oz) jar marinara sauce (checked or made gluten free)
Method
Mise en place
- Mince the garlic and measure the ricotta, mozzarella, parmesan, and egg.
- Bring a large pot of water to a boil for the pasta.
Cook the pasta and sauce
- Heat the oven to 375F. Cook the gluten free pasta 1 to 2 minutes less than the package directs, since it will finish in the oven. Drain and set aside.
- If using, brown the ground beef or sausage with the garlic in a skillet, about 6 minutes. Stir in the marinara sauce and simmer 5 minutes.
Combine and assemble
- Mix the ricotta, half the mozzarella, the parmesan, and the egg together in a bowl.
- Combine the pasta with the sauce, then fold in the ricotta mixture until just streaked through, not fully blended.
Bake and plate
- Transfer to a baking dish, top with the remaining mozzarella, and bake 20 to 25 minutes until bubbling and golden. Finish with fresh basil.

Doneness
The ziti is ready when the sauce is bubbling visibly at the edges of the dish and the mozzarella on top has melted fully and started to brown in spots.
Nutrition (per serving, estimated)
Estimated from the ingredients as written, not lab-verified. This is not medical or nutrition advice; confirm packaged ingredients with a doctor or registered dietitian if you are managing a medical condition.
- Calories 590
- Fat 28 g
- Saturated fat 14 g
- Cholesterol 130 mg
- Sodium 780 mg
- Carbohydrates 52 g
- Fiber 3 g
- Sugar 8 g
- Protein 34 g
Get Ahead: A Timing Plan
- Up to a day ahead: assemble the whole dish unbaked and refrigerate covered, adding 10 minutes to the bake time from cold.
- While the pasta cooks: mix the ricotta filling so it is ready the moment the pasta drains.
- Last step: tear the basil right before serving so it stays bright.
Wine Pairing
A tomato-based baked pasta with rich cheese wants a red with enough acidity to cut through both.
- Chianti. Its high acidity is built for tomato sauce and cuts cleanly through the cheese.
- Sangiovese. A close cousin to Chianti, with the same bright acid and food-friendly structure.
- Barbera. Low tannin and high acidity make it an easy, versatile match for a hearty baked pasta.
Building the Meal Around It
A simple green salad and garlic bread made with gluten free bread round this out. It also travels well to a potluck or family gathering since it holds its heat in the baking dish for a while after coming out of the oven.
Cooking for a Crowd
This doubles easily in a larger baking dish, but add five to ten extra minutes to the bake time to make sure the center heats through completely. Assemble it a day ahead and refrigerate unbaked if serving a crowd, which also frees up oven space and timing on the day itself.
Troubleshooting
- Pasta is mushy after baking. It was cooked fully before going into the oven. Undercook it by a minute or two so it finishes in the sauce instead of overcooking twice.
- Dish is watery at the bottom. The pasta was not drained thoroughly, or the marinara was thinner than usual; simmer the sauce a bit longer to reduce it first.
- Cheese on top doesn't brown. The oven was not hot enough or the dish was covered the whole time; uncover for the last five to ten minutes of baking.
- Ricotta layer disappears into the sauce. It was overmixed; fold it in gently so streaks of ricotta stay visible rather than blending completely.
Variations
- Vegetarian. Skip the meat and add sauteed mushrooms or spinach to the sauce instead.
- Spicy. Add crushed red pepper flakes to the sauce or use a spicy Italian sausage.
- Extra vegetables. Stir in sauteed zucchini or bell peppers along with the pasta and sauce.
- Dairy-free. Use a plant-based ricotta and mozzarella; the marinara and basil still carry most of the flavor.
Frequently Asked Questions
Why is my gluten free pasta mushy after baking?
It was likely cooked fully before going into the oven. Undercook it by a minute or two so it finishes in the sauce instead of overcooking twice.
Can I make this vegetarian?
Yes, skip the meat and add sauteed mushrooms or spinach to the sauce instead.
Can I use a different gluten free pasta shape?
Yes, rigatoni or shells work just as well as ziti or penne, as long as the shape is sturdy enough to hold sauce inside.
Can I freeze baked ziti?
Yes, freeze it unbaked or baked in an airtight container for up to three months; thaw fully in the refrigerator before reheating for the most even texture.
Why did my sauce separate or look oily?
This usually happens when the sauce simmers too long uncovered with the meat fat; skim excess fat before combining it with the pasta.
Can I make this dairy free as well as gluten free?
Yes, plant-based ricotta and mozzarella alternatives work in the same proportions, though the top may brown slightly differently.
More Gluten Free Recipes
Looking for something else? Gluten-Free Banana Pancakes, Beef Enchiladas Rojas, and the full Gluten-Free collection.
Who Is Writing This
I'm Chef Alan. I have spent 35 years in professional kitchens, I have formal culinary education in New Hampshire, and I have been honored as a 6-Time 4-Diamond Chef. More about me here.
If a recipe is missing something you needed, or a step didn't make sense, tell me. Get in touch and I'll fix it.
Cook Bolder, Serve Wiser, Eat Better.