A photocurable composition for a nail or artificial nail which can form a cured product exhibiting excellent durability (adhesion maintainability to nails). In addition, the present invention provides a photocurable composition for a nail or artificial nail which emits a weaker odor, generates less heat at the time of curing, and can form a cured product exhibiting excellent surface curability. In addition, the present invention provides a photocurable composition for nail or artificial nail which can form a cured product having an excellent shear adhesive force. The photocurable composition for nail or artificial nail according to the present invention contains the following components (A) to (D): component (A): a urethane-modified (meth)acrylic oligomer; component (B): a (meth)acrylamide monomer; component (C): a (meth)acrylic monomer having an acidic group; and component (D): a photoinitiator.