The shelf life of hard cheese depends on the type of cheese, processing method, packaging date, its exposure to heat, and how the cheese is stored. Unopened hard cheese (parmesan, romano, gouda) can last up to four months in the refrigerator; opened hard cheese has a shelf life of six weeks. Indicators of spoiled cheese are a darker color, harder texture, and stronger smell.