Cold sores are caused by a virus called herpes simplex. Once you have the virus, it stays in your skin for the rest of your life. Sometimes it causes a cold sore. Most people are exposed to the virus when they're young after close skin to skin contact, such as kissing, with someone who has a cold sore.