Compositions and methods for treating or preventing fungal infections of the nail are provided. The topical composition includes the use of chlorine dioxide, chlorite salts, benzoyl peroxide, an alpha hydroxy acid, antifungal and antibiotic agents. Also provided is a heat-generating device for use in treating at least one nail infected with fungus and a toe sock device.