Both boxed and homemade mac n cheese can be frozen. If you're freezing boxed mac and cheese, simply add the cooled pasta to a freezer bag and remove any excess air. Label and place in the freezer for up to 2 months. For homemade, freeze either baked or unbaked, tightly covered with foil. Thaw completely before baking.