A whole pineapple should retain quality for 2 to 3 days at room temperature, or 5 to 6 days in the fridge. And it should stay okay-to-eat-but-not-that-great for at least a couple more days. Cut pineapple keeps for 3 to 4 days in a freezer bag or airtight container in the fridge.