The present invention relates to a photocrosslinkable cosmetic composition, comprising in a physiologically acceptable medium: at least one photocrosslinkable urethane (meth)acrylate compound P1 comprising at least one structural unit: (I) at least one photocrosslinkable urethane (meth)acrylate compound P2, comprising at least one polyethylene glycol chain, preferably at least one film-forming polymer P3, and at least one photoinitiator.