A chemoprotective method for treating, inhibiting or preventing loss of barrier function in skin caused by ultraviolet (UV) light by using an effective amount of pterostilbene is provided. Pharmaceutical and nutraceutical compositions containing pterostilbene suitable for administration to an individual in order to prevent subsequent UV-mediated loss of barrier function in skin are provided.