Ciclopirox shampoo is a topical medication used to control seborrheic dermatitis (a condition that causes dry, flaky, and itchy skin) of the scalp. Ciclopirox is an antifungal medication that works by stopping the growth of fungus. The shampoo is for use on the hair and scalp only.