Cooked butternut squash can last up to 4 days in the fridge if stored in an airtight container. It can also be frozen for up to 6 months, but the texture may become softer after defrosting.