Cotija cheese can last for up to a month after opening if stored properly. It is best to keep it refrigerated in an airtight container or wrapped in plastic wrap to prevent drying out and exposure to odors from other foods. It is important to inspect the cheese before use and discard it. If there are signs of spoilage, such as mold, discoloration, or an off odor.