Pitted keratolysis is a bacterial skin infection of the foot. The infection is characterized by craterlike pits on the sole of the feet and toes, particularly weight-bearing areas.