Is There Medication for Herpes? Your Treatment Options

Yes, there are several effective medications for herpes. Three FDA-approved antiviral drugs treat both oral and genital herpes: acyclovir, valacyclovir, and famciclovir. All three are prescription medications taken by mouth, and they work by blocking the virus’s ability to copy itself inside your cells. They don’t cure herpes or eliminate the virus from your body, but they shorten outbreaks, reduce symptoms, and can be taken daily to prevent flare-ups.

The Three Prescription Antivirals

Acyclovir was the first antiviral developed for herpes and remains widely used. It’s effective but needs to be taken more frequently throughout the day. Valacyclovir is a newer form of acyclovir that your body absorbs more efficiently, so you take fewer pills per day to get the same effect. Famciclovir works through a similar mechanism and also absorbs well, offering another convenient option. All three are available as generics, making them relatively affordable.

These medications are used in two distinct ways depending on your situation: episodic therapy and suppressive therapy.

Episodic vs. Suppressive Therapy

Episodic therapy means taking medication only when an outbreak occurs. You start the antiviral at the first sign of symptoms, such as tingling, itching, or the appearance of sores. Starting early makes a real difference in how long the outbreak lasts and how severe it gets. A typical course runs a few days to a week.

Suppressive therapy means taking a low dose of an antiviral every single day, whether or not you have symptoms. This approach is designed for people who experience frequent outbreaks, generally six or more per year, though anyone can choose it. Daily suppressive therapy significantly reduces the number of outbreaks you experience each year and also lowers the chance of transmitting the virus to a sexual partner, since it reduces the amount of viral shedding that happens between visible outbreaks.

The choice between episodic and suppressive therapy depends on how often you get outbreaks, how much they affect your quality of life, and whether reducing transmission risk to a partner is a priority. Many people start with episodic treatment and switch to daily suppression if outbreaks are frequent or bothersome.

Over-the-Counter Options for Cold Sores

For oral herpes (cold sores), one over-the-counter option exists: docosanol, sold under the brand name Abreva. It’s a topical cream applied directly to cold sores five times a day until the sore heals. Docosanol won’t cure the infection, but it can help relieve pain and discomfort and may speed up healing slightly. It works best when applied at the very first tingle, before a full blister forms.

Docosanol is specifically for cold sores around the mouth. It’s not used for genital herpes, which requires the prescription antivirals described above. For people who get frequent or severe cold sores, a doctor can also prescribe oral antivirals, which tend to be more effective than topical treatment alone.

Pain Relief During Outbreaks

Antiviral medications target the virus itself, but outbreaks can also be painful. Standard over-the-counter pain relievers like ibuprofen or acetaminophen help with general discomfort. For localized pain, some people use topical numbing agents containing lidocaine or benzocaine to take the edge off sore areas. Cool compresses and loose-fitting clothing can also reduce irritation during a genital herpes outbreak.

How Well the Medications Work

For the vast majority of people, these antivirals work reliably. Resistance to acyclovir (which also means resistance to valacyclovir, since it converts to acyclovir in the body) is rare in people with healthy immune systems, occurring in less than 1% of cases regardless of how long someone has been on treatment.

Resistance becomes more of a concern for people with weakened immune systems, particularly those who have had bone marrow transplants or are on immunosuppressive medications. In those situations, the virus can develop mutations that make standard antivirals less effective. For these patients, alternative treatments exist, and a newer drug called pritelivir is currently in late-stage clinical trials. It works through a completely different mechanism than existing antivirals and remains active against strains that have become resistant to acyclovir. Early trial results have been promising, with over 93% of patients in one phase 2 study seeing their lesions heal within 28 days.

What Medication Won’t Do

It’s important to understand the boundaries of current herpes treatment. These antivirals control symptoms and reduce outbreaks, but they don’t eliminate the virus from your body. Herpes hides in nerve cells in a dormant state that medication can’t reach. Once you stop taking suppressive therapy, outbreaks can return at whatever frequency your body’s immune system allows. The good news is that for most people, outbreaks naturally become less frequent and less severe over the years regardless of medication use.

Antivirals also reduce but don’t completely eliminate the risk of transmitting herpes to a partner. Daily suppressive therapy combined with condom use offers the strongest protection, but no combination removes the risk entirely. Having an open conversation with partners and understanding your own outbreak patterns matters alongside medication.

Getting a Prescription

All three prescription antivirals require a doctor’s visit, though many telehealth services now offer herpes consultations and can prescribe medication remotely. If you’ve never been diagnosed but suspect you have herpes, a provider can confirm through a swab test of an active sore or a blood test for antibodies. Once diagnosed, getting and refilling prescriptions is straightforward, and many people stay on suppressive therapy for years without issues. The medications have been used since the 1980s and have a well-established safety profile with minimal side effects for most people.