Sunscreen composition comprises at least one polyurethane, which is obtained by reacting one or more water-insoluble, non-dispersible in water, isocyanate functional polyurethane prepolymers with one or more amino functional compounds. An independent claim is included for a cosmetic method for protecting skin from negative effects of the solar radiation, comprising applying the above composition on the skin.