This invention relates to methods and compositions for imparting memory effects onto biosurfaces, such as hair, by using shape memory polymers. This invention also relates to kits containing shape memory polymers that are useful for styling hair. The methods, compositions, and kits of the invention permit a user to recover an original hairstyle after it has been disheveled by exposing the hair to an external stimulus, such as heat.