Clotrimazole is used to treat skin infections such as athletes foot, jock itch, ringworm, and other fungal skin infections (candidiasis). This medication is also used to treat a skin condition known as pityriasis (tinea versicolor), a fungal infection that causes a lightening or darkening of the skin of the neck, chest, arms, or legs. Clotrimazole is an azole antifungal that works by preventing the growth of fungus.