DoseFacts

Antivirals: What They Do, Medicines

Also in: हिन्दी தமிழ் मराठी తెలుగు ಕನ್ನಡ বাংলা ગુજરાતી മലയാളം ਪੰਜਾਬੀ ଓଡ଼ିଆ অসমীয়া

Antivirals are medicines that treat infections caused by viruses, such as herpes, flu, COVID-19, HIV and hepatitis B and C. Each one works against only one or a few viruses, so many viral illnesses have no antiviral, including the common cold. Common examples are acyclovir for herpes and oseltamivir for flu. Most need a prescription, and many work best when started soon after symptoms begin.

Medically reviewed by: V.Ragha Sai Pravallika, B.Pharm · Reg. No. TG081267 (Telangana Pharmacy Council)

Last reviewed:

Last updated: · Report an error

How do antivirals work?

Most antivirals work by interfering with the way a virus copies itself inside the body's cells, so the virus spreads less in the body. Oseltamivir, for example, blocks an enzyme called neuraminidase that flu viruses need to spread. HIV treatment combines medicines from different classes, each blocking a different step the virus needs to enter cells or copy itself.

What are antivirals used for?

  • Herpes infections such as cold sores, genital herpes, shingles, chickenpox and herpes eye infections (acyclovir, valaciclovir)
  • Preventing herpes infections in people with a weakened immune system
  • Treating flu (oseltamivir, zanamivir, baloxavir), and preventing it in some people after contact with a case (oseltamivir, baloxavir)
  • COVID-19 in people at higher risk of becoming seriously ill (nirmatrelvir with ritonavir, molnupiravir, remdesivir)
  • HIV, usually with several medicines taken together every day, and preventing HIV before or after possible exposure (PrEP and PEP)
  • Long-term hepatitis B, to keep the virus under control
  • Hepatitis C, with daily tablets for 8 to 12 weeks that can clear the infection in most people

Active ingredients of this type

These active ingredients belong to Antivirals. They are listed A to Z.

  • Acyclovir: Acyclovir (aciclovir) is an antiviral medicine used to treat infections caused by herpes viruses.
  • Oseltamivir: Oseltamivir is a prescription antiviral used to treat influenza (flu) A and B.

Side effects of antivirals

Side effects depend on the medicine. Stomach upset and headache are among the common side effects of herpes and flu antivirals taken by mouth, and the NHS says aciclovir cream causes fewer side effects than the tablets.

Uncommon or mild

  • Headache or dizziness
  • Feeling sick, vomiting, diarrhoea or stomach ache
  • Feeling tired
  • Rash, itching, or skin that reacts to sunlight
  • A changed sense of taste, especially with nirmatrelvir with ritonavir
  • Mild burning or stinging where a cream is applied

Rare but serious: get medical help

  • Swelling of the face, lips, tongue or throat, or difficulty breathing: a severe allergic reaction. Call 112 or your local emergency number at once
  • Blistering or peeling skin, mouth sores, or a rash with fever and swollen glands: call a doctor immediately or get emergency help
  • Passing much less urine than usual, or swollen legs or ankles: a possible kidney problem. Contact a doctor straight away
  • Yellow skin or yellowing of the whites of the eyes: a possible liver problem. Contact a doctor straight away
  • Confusion, agitation, hallucinations or unusual behaviour: contact a doctor straight away. For a seizure or loss of consciousness, call 112 or your local emergency number
  • Unusual bruising or bleeding, or pale skin: possible changes in blood cells. Contact a doctor straight away
  • Wheezing or difficulty breathing after inhaled zanamivir (the CDC says it can cause bronchospasm): contact a doctor straight away. If breathing is very difficult, call 112 or your local emergency number

Who should be careful

Tell the doctor or pharmacist before starting an antiviral if any of these apply.

  • Kidney disease, or dehydration from a recent illness: the NHS says to drink plenty of water with aciclovir tablets, especially with kidney problems
  • Liver disease
  • A weakened immune system, HIV, or a bone marrow or kidney transplant
  • A past allergy to an antiviral, such as acyclovir or valaciclovir
  • Asthma or other long-term lung disease: inhaled zanamivir is not recommended
  • Children and teenagers with flu: carers should watch for confusion or unusual behaviour, which can happen with or without the medicine
  • Fructose intolerance: oseltamivir liquid contains sorbitol
  • Genital herpes can still pass to a partner when there are no sores, even during treatment
  • Pregnancy or planning a baby: advice differs between antivirals (see the questions below), so tell the doctor first
  • Breastfeeding: acyclovir cream is usually fine if the baby does not touch the treated skin; tell the doctor before taking antiviral tablets. Baloxavir is not recommended

Medicines and things that interact with antivirals

Some antivirals have few known interactions, while nirmatrelvir with ritonavir interacts with many medicines. Tell the doctor or pharmacist about everything you take, including vitamins and herbal remedies.

  • Nirmatrelvir with ritonavir (for COVID-19): interacts with a variety of medicines, sometimes causing life-threatening side effects, so the doctor or pharmacist checks your full list first
  • Hormonal contraception: nirmatrelvir with ritonavir can make it less effective, so another method of birth control may be needed during treatment
  • HIV medicines: they can interact with other medicines, which the HIV team checks when choosing treatment
  • Probenecid (for gout), cimetidine (for stomach ulcers) and mycophenolate mofetil (after a transplant), with acyclovir tablets; the NHS knows of no medicines that affect aciclovir cream
  • The live nasal spray flu vaccine: oseltamivir can make it work less well

How antivirals compare with other medicines

Antivirals act only on viruses, and each works against just one or a few. Antibiotics act on bacteria and do not work for viral infections such as colds and flu, although one may still be needed if a bacterial infection develops as well. Vaccines are given before exposure to prevent infection, while antivirals treat an infection or protect soon after contact, so they do not replace vaccines. Many viral illnesses have no antiviral, and treatment then aims to ease the symptoms.

Common questions

How soon do antivirals need to be started?

As early as possible. The CDC says flu antivirals work best within 1 to 2 days of the first symptoms, and the EMA says oseltamivir is started within 2 days. The NHS says shingles tablets work best within 3 days of the rash, and the CDC says COVID-19 tablets must begin within 5 days. Follow the label or your doctor's advice.

Do antivirals kill the virus completely?

Not always. Herpes viruses stay in the body, so cold sores and genital herpes can come back. HIV medicines lower the virus, often until tests cannot detect it, but do not remove it. Hepatitis B treatment controls the virus, while the NHS says hepatitis C tablets can clear the infection in most people.

What happens if antiviral doses are missed?

It depends on the medicine. MedlinePlus says missed HIV doses can make treatment fail and the virus resistant. The NHS says finishing hepatitis C treatment is important for it to work. MedlinePlus says nirmatrelvir with ritonavir is taken until the prescription is finished, even if you start to feel better. Talk to your doctor or pharmacist before any change.

Can you drink alcohol while taking antivirals?

With acyclovir, yes: the NHS says you can drink alcohol as normal. The sources used here do not cover alcohol with other antivirals, so ask your doctor or pharmacist about your own medicine.

Can you take antivirals while pregnant?

Some, yes. The NHS says aciclovir can usually be used after checking with a doctor or pharmacist. The CDC recommends oseltamivir by mouth for flu in pregnancy, but not baloxavir. The WHO says HIV treatment started as soon as possible in pregnancy helps prevent passing HIV to the baby. Tell the doctor before taking any antiviral.

Can you buy antiviral medicine over the counter?

Most antivirals need a prescription. Some antiviral cold sore creams are sold in pharmacies. In England, the NHS says pharmacists can give adults the same antiviral tablets for shingles as a GP. Rules differ by country. The NHS says to see a doctor if a cold sore has not started to heal within 10 days.

Can antivirals cause diarrhoea?

Yes. Diarrhoea is listed among the common side effects of acyclovir, valaciclovir, oseltamivir and nirmatrelvir with ritonavir, often with feeling sick or vomiting. Tell a doctor or pharmacist if it bothers you or does not go away, and keep drinking fluids.

Sources

  1. Overview of viral infections (Antiviral drugs). MSD Manual Consumer Version
  2. Aciclovir. NHS (UK)
  3. Acyclovir: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  4. Valacyclovir: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  5. Oseltamivir: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  6. Tamiflu (oseltamivir): EPAR medicine overview. European Medicines Agency
  7. Treating flu with antiviral drugs. US Centers for Disease Control and Prevention (CDC)
  8. Anaphylaxis. NHS (UK)
  9. Treatments for COVID-19. NHS (UK)
  10. COVID-19 treatment. US Centers for Disease Control and Prevention (CDC)
  11. Nirmatrelvir and ritonavir: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  12. HIV medicines. MedlinePlus, US National Library of Medicine
  13. HIV and AIDS: fact sheet. World Health Organization
  14. HIV and AIDS: treatment. NHS (UK)
  15. Hepatitis B: treatment. NHS (UK)
  16. Hepatitis C: treatment. NHS (UK)
  17. Shingles. NHS (UK)
  18. Cold sores. NHS (UK)
  19. Antibiotics. NHS (UK)
  20. Viral infections. MedlinePlus, US National Library of Medicine
  21. ATC/DDD Index: J05. WHO Collaborating Centre for Drug Statistics Methodology