Uncooked, dry pasta can be stored in the cupboard for up to one year. Keep in a cool, dry place. Use packages you’ve bought earlier before opening the newer ones.
Cooked pasta can be refrigerated in an airtight container for 3 to 5 days. You can add a little oil (1-2 tsp per 500 g of cooked pasta) to help keep it from sticking. Store cooked pasta separately from sauces as it would otherwise continue to absorb flavours and oils from sauces.
The best pasta shapes for freezing are those that are used in baked recipes, like lasagne. For best results, you should freeze the prepared recipe before baking. When you are ready for baking, you need to thaw the dish to room temperature.