The most common cause of cold sores is the virus called herpes simplex virus 1. The herpes simplex virus in a cold sore is contagious. It can be spread to others by kissing, sharing cups or utensils, sharing washcloths or towels, or by touching the cold sore before it's healed. The virus can also be spread to others 24 to 48 hours before the cold sore appears.
Once a child is infected with the herpes simplex virus, the virus becomes inactive (dormant) for long periods of time. It can then become active at any time and cause cold sores again. The cold sores usually don't last longer than a few days, or up to 2 weeks. Hot sun, cold wind, illness, stress, menstrual periods, or a weak immune system can cause cold sores to occur.