Cooked pasta lasts 3 to 5 days in the fridge according to Better Homes and Gardens. It should be stored in airtight containers, and sauces should be stored separately if possible.
Cooked, refrigerated pasta is easily reheated by dropping it in boiling water for several seconds. Cooked pasta can also be frozen for up to 2 weeks. The pasta should be slightly cooled first and tossed with a bit of cooking or olive oil and placed into airtight freezer bags or containers.
Frozen cooked pasta is best thawed by running the whole container under tepid water or dropping only the contents of the container into boiling water. A small amount should take about 2 minutes to defrost.