Keep cucumbers toward the front of the refrigerator for up to 2 weeks. Whole cucumbers at room temperature on the countertop have a shelf life of up to a week if you keep them away from direct sunlight.