According to FoodSafety.Gov, properly wrapped cooked ham will last three to five days in the refrigerator. It is best if used within one to two months if it's stored in the freezer.