A topical pharmaceutical or composition for prevention and treatment of irritation to skin cells. The composition comprises an aqueous solution of xylitol and glycerol. In a preferred embodiment, the composition comprises 5% (w/w) xylitol, 5% (w/w) glycerol, a viscosity-enhancing agent, base to bring to the pH to 4.9, and optionally, a pharmaceutically active agent.