Cooked corn on the cob will last 3-5 days in the refrigerator. Store it in an air-tight container or tightly wrapped in foil or plastic bags.