Yes, they're effectively the same virus. There are two types of herpes simplex virus (HSV).
- HSV-1: most often appears on the mouth as cold sores, can also be transmitted to the genitals.
- HSV-2: Most often appears on the genitals, can also be transmitted to the mouth.