Refrigerate cooked broccoli in an airtight container to extend its shelf life for safety and quality. Cooked broccoli will keep in the refrigerator for 3 to 5 days if properly stored.