The invention provides a topical liquid antifungal composition containing an antifungal agent, a film-forming agent and a solvent. The composition is applied on the infected skin area to form a film that delivers the active agent. The invention also provides a method for treating a fungal infection on the skin by applying the topical antifungal composition that forms a film on the skin.