At room temperature, a ripe pineapple will keep for about 3 days. Don’t store whole pineapples in the fridge. Once the flesh has been peeled and chopped, then it’s fine to chill it, stored in an airtight container.