How Are STDs Treated? Antibiotics, Antivirals & More

Most STDs are treatable, and many are fully curable. The treatment depends on what type of organism is causing the infection: bacteria, viruses, or parasites. Bacterial and parasitic STDs can typically be eliminated with the right medication, while viral STDs can be managed effectively but not cured outright.

Bacterial STDs: Curable With Antibiotics

Chlamydia, gonorrhea, and syphilis are all caused by bacteria, which means antibiotics can clear them completely. The specific antibiotic and how long you take it varies by infection.

Chlamydia

Chlamydia is one of the most common STDs and one of the simplest to treat. The standard treatment is a seven-day course of doxycycline, taken twice a day by mouth. A single-dose alternative exists for people who may have trouble completing a week-long regimen. During pregnancy, different antibiotics are used because doxycycline isn’t safe for the developing baby.

Gonorrhea

Gonorrhea has become harder to treat over the years because the bacteria have developed resistance to many antibiotics. Current guidelines call for an injection-based antibiotic rather than pills alone. If you’re diagnosed with gonorrhea, you’ll likely be tested for chlamydia at the same time, since co-infection is common, and both are often treated together.

Syphilis

Syphilis is treated with penicillin, delivered as an injection. For early-stage syphilis (primary or secondary), a single injection is usually all that’s needed. If the infection has progressed or gone undetected for a longer period, treatment may involve weekly injections over the course of three weeks. Syphilis progresses through distinct stages, and the earlier it’s caught, the simpler the treatment.

Viral STDs: Managed but Not Cured

Viral STDs, including herpes, HPV, and HIV, work differently from bacterial infections. Once the virus enters your body, it stays. That doesn’t mean treatment is hopeless. Modern medications can suppress symptoms, reduce transmission risk, and in the case of HIV, allow people to live long, healthy lives.

Genital Herpes

Herpes is caused by the herpes simplex virus, and while there’s no way to eliminate it from the body, antiviral medications are highly effective at controlling it. Daily suppressive therapy reduces the frequency of outbreaks by 70% to 80% in people who have frequent recurrences. Several antiviral options are available, all taken by mouth. Some people take medication daily to prevent outbreaks, while others keep a prescription on hand and start it at the first sign of symptoms to shorten the episode. The choice between daily suppression and as-needed treatment depends on how often outbreaks happen and whether reducing transmission to a partner is a priority.

HPV

Most HPV infections clear on their own within one to two years without any treatment. When HPV causes visible genital warts, those warts can be removed through freezing, topical medications, or minor procedures, but the treatments target the warts themselves rather than the underlying virus. High-risk HPV strains that can lead to cervical or other cancers are monitored through screening (like Pap smears) rather than treated directly, unless abnormal cell changes develop.

HIV

HIV treatment has transformed dramatically. Antiretroviral therapy (ART) uses a combination of medications, typically three active drugs from at least two different classes, to stop the virus from replicating. These drug classes work at different points in the virus’s life cycle, blocking it from copying itself and infecting new cells.

After starting ART, most people reach an undetectable viral load within 12 to 24 weeks. “Undetectable” means the amount of virus in the blood is so low that standard tests can’t measure it. At that level, HIV cannot be transmitted sexually, a concept known as U=U (undetectable equals untransmittable). ART is a lifelong daily commitment, but people who maintain an undetectable viral load have a near-normal life expectancy.

Parasitic STDs: A Quick Cure

Trichomoniasis is caused by a parasite and is the most common curable STD worldwide. Treatment differs slightly by sex. Women typically take a seven-day course of metronidazole, twice daily. Men usually receive a single, larger dose of the same medication. An alternative antibiotic, tinidazole, is available as a single-dose option for both. Symptoms often clear within a week of starting treatment, and the infection is fully eliminated.

What Happens After Treatment

Finishing your medication doesn’t always mean you’re done. Reinfection is common, especially for chlamydia and gonorrhea, because getting treated once doesn’t make you immune. The CDC recommends retesting about three months after treatment for both infections to catch any reinfection early. Pregnant women follow a slightly different schedule: a test to confirm the infection is gone four weeks after treatment, then another retest within three months.

You should avoid sexual contact during the full course of treatment and, for most infections, for at least seven days after treatment is completed. If your medication is a single dose, the same waiting period applies from the day you take it.

Getting Your Partner Treated

STD treatment only works if your sexual partners are treated too. Otherwise, you can pass the infection back and forth. For chlamydia and gonorrhea, a practice called expedited partner therapy (EPT) allows your healthcare provider to write a prescription for your partner without needing to examine them first. You can bring the medication or prescription directly to your partner. EPT is legal in most states and is particularly useful when a partner is unlikely to seek their own appointment.

For other STDs, partners will generally need their own testing and evaluation. With syphilis, HIV, and herpes, partner notification is important both for their health and for limiting further spread. Many local health departments offer confidential partner notification services if you’re uncomfortable having the conversation yourself.

Treatment During Pregnancy

Pregnancy changes which medications are safe to use. Doxycycline, the standard chlamydia treatment, is not used during pregnancy. Instead, a single dose of azithromycin is recommended. For syphilis, penicillin remains the treatment of choice, and pregnant women with penicillin allergies are typically desensitized so they can still receive it, because no good alternative exists for preventing transmission to the baby.

Untreated STDs during pregnancy carry serious risks, including preterm birth, low birth weight, and transmission to the newborn during delivery. Routine STD screening is a standard part of prenatal care for this reason, and early treatment dramatically reduces these risks.