How Do I Cook Pasta Before Baking?
Cook the pasta in a large pot of boiling salted water until it’s just barely tender, then drain and rinse it under cold water to stop the cooking process. This will ensure that the pasta doesn’t get overcooked and mushy when it’s baked in the oven with the other ingredients.