Clotrimazole is used to treat skin infections such as athlete's foot, jock itch, ringworm, and other fungal skin infections (candidiasis).