If you didn’t cook it, Costco mac and cheese can last in the fridge for about 5 days. But if you want to keep it more I recommend you to freeze it, it can last for up to 2 months.