Cooked macaroni can last in the fridge for 3-5 days if stored in an airtight container.