Medically reviewed by Lauren Schlanger, MD Anal herpes is caused by the herpes simplex virus (HSV) and is usually transmitted by anal sex but, in some cases, can also be transmitted through oral sex.