Soft and moist cheese, like mozzarella, lasts two weeks unopened in the refrigerator. On the other hand, unopened hard cheese, such as Parmesan, is good for up to a year. If soft cheese has mold, toss it; if a harder cheese has a bit of mold but smells fine, slice off an inch around the affected area. To guarantee the longest shelf life for any cheese, store it in the vegetable crisper of your refrigerator and wrap it in wax paper. And did you know that you can also freeze cheese?