Mupirocin vs. Acyclovir for Bacterial and Viral Sores

Mupirocin and acyclovir are completely different drugs designed for completely different problems. Mupirocin is a topical antibiotic that kills bacteria, while acyclovir is an antiviral that fights herpes simplex virus. They cannot substitute for each other, and using the wrong one will accomplish nothing for your infection. The confusion usually arises because both are commonly prescribed as topical ointments or creams for skin lesions that can, at a glance, look similar to each other.

Why These Two Get Confused

The reason people end up searching for one versus the other usually comes down to appearance. A cluster of small blisters on the lip or around the nose could be a cold sore (herpes simplex) or it could be impetigo (a bacterial infection). Both can form crusted, weepy sores. Both tend to appear on the face. And both are treated with something you apply directly to the skin. But the underlying cause is entirely different, and the treatment has to match the cause. Putting mupirocin on a cold sore will not shorten the outbreak or reduce viral shedding. Applying acyclovir cream to a patch of impetigo will not clear the bacteria.

If you have been given one of these medications and are wondering whether you should be using the other instead, the answer depends entirely on what is causing your sore. A healthcare provider can usually tell the difference on sight, though lab confirmation is sometimes necessary for ambiguous cases.

How Mupirocin Works

Mupirocin targets a specific enzyme that bacteria need to build proteins. Without that enzyme functioning properly, bacteria cannot assemble the proteins they require to grow and reproduce, and they die. This mechanism is quite selective, meaning mupirocin is effective against skin bacteria like Staphylococcus aureus and Streptococcus pyogenes without causing much collateral damage to your own cells.1PubMed Central. Inhibition of Isoleucyl-tRNA Synthetase by the Hybrid Antibiotic Thiomarinol

The drug works only on bacteria. It has zero activity against viruses, fungi, or parasites. This is not a limitation unique to mupirocin; antibiotics as a class do not affect viruses, because viruses do not have the same cellular machinery that antibiotics are designed to disrupt.

How Acyclovir Works

Acyclovir takes advantage of something the herpes virus does that your own healthy cells do not. Herpes simplex viruses produce their own version of an enzyme that accidentally activates acyclovir, converting it into its functional form inside infected cells. Once activated, the drug impersonates a building block of DNA. The virus’s replication machinery tries to use it, gets stuck, and can no longer copy viral DNA. Your healthy, uninfected cells barely activate the drug at all, which is why acyclovir causes relatively few side effects.2PubMed. Mechanism of action and selectivity of acyclovir

This selectivity is the reason acyclovir became such an important drug when it was introduced. It zeros in on cells already hijacked by the virus and largely leaves everything else alone. But that same selectivity means it is useless against bacteria, which do not have the viral enzyme needed to switch it on.

What Mupirocin Treats

Mupirocin’s main role is treating superficial bacterial skin infections, particularly impetigo. Impetigo is extremely common in children and causes honey-colored crusted sores, usually around the mouth and nose. In clinical trials, mupirocin ointment applied two or three times daily cleared the infection in the vast majority of patients, with over 90% pathogen eradication rates and clinical cure or marked improvement in at least 80% of cases.3PubMed. Mupirocin. A review of its antibacterial activity, pharmacokinetic properties and therapeutic use Head-to-head comparisons with oral antibiotics found mupirocin performed just as well. In one trial comparing it to oral erythromycin in children, all patients in the mupirocin group who completed follow-up were cured.4PubMed Central. Randomized clinical trial of topical mupirocin versus oral erythromycin for impetigo Another study found mupirocin was actually better at eradicating Staphylococcus aureus, including antibiotic-resistant strains, than the oral antibiotic was.5PubMed. Topical mupirocin treatment of impetigo is equal to oral erythromycin therapy

Beyond impetigo, mupirocin is used for minor infected cuts, scrapes, and secondarily infected eczema or other skin conditions. It is also widely used inside the nostrils to clear Staphylococcus aureus carriage in healthcare settings, particularly before surgery, to reduce the risk of surgical-site infections. This nasal decolonization use has become one of its most important roles in hospitals.

What Acyclovir Treats

Acyclovir treats infections caused by herpes simplex virus types 1 and 2 (the viruses behind cold sores and genital herpes) and varicella-zoster virus (the cause of chickenpox and shingles). It is available as a topical cream for cold sores, an oral tablet for more widespread or recurrent herpes outbreaks, and an intravenous formulation for severe cases like herpes encephalitis.

Topical acyclovir cream applied to a cold sore can modestly reduce healing time if started at the very first sign of tingling, before blisters fully form. The oral version is considerably more effective than the cream for most herpes infections and is the standard treatment for genital herpes outbreaks, shingles, and suppressive therapy for people who experience frequent recurrences. If you are using acyclovir cream on your lip and wondering whether it is doing much, you are not imagining things; topical delivery to the skin is genuinely limited. Studies measuring how much drug actually reaches the deeper skin layers where the virus replicates found that only a tiny fraction of the applied dose, roughly 0.4%, made it to the target tissue.6PubMed. Quantification of uptake and clearance of acyclovir in skin layers Most of the drug gets stuck in the outermost dead layer of skin. This is one reason oral acyclovir or its successors like valacyclovir tend to work better for anything beyond a minor cold sore.

When You Might Need Both

There are situations where a herpes outbreak becomes secondarily infected with bacteria, and in those cases both drugs may be appropriate, each targeting its own pathogen. Secondary bacterial infections are common complications of many primary skin conditions. Open, weepy herpes sores create an entry point for bacteria, and the usual culprits are the same ones mupirocin is designed to handle: Staphylococcus aureus and Streptococcus pyogenes.7PubMed. Secondarily infected wounds and dermatoses: a diagnosis and treatment guide

This kind of dual infection is not just theoretical. Documented cases describe herpes simplex lesions that became colonized by drug-resistant Staphylococcus aureus (MRSA), creating a much more complicated clinical picture than either infection would produce alone.8PubMed Central. Cutaneous Necrosis of the Skin Secondary to Methicillin-Resistant Staphylococcus aureus (MRSA) and Bacteroides With Superimposed Herpes Simplex Virus Type II (HSV-II) in the Setting of Infective Endocarditis In such cases, treating only the virus or only the bacteria leaves half the problem unaddressed. If you have herpes sores that seem to be getting worse instead of better, are producing thick yellow pus, or are spreading with increasing redness and warmth, a bacterial superinfection is worth considering, and your doctor may add an antibiotic to your antiviral regimen.

Telling Bacterial and Viral Sores Apart

Getting the right drug starts with getting the right diagnosis, and the two types of sores do have distinguishing features, though overlap exists. Herpes cold sores typically begin with tingling or burning, then progress to grouped small blisters on a red base that burst and crust over. Impetigo tends to start as a red spot that quickly becomes a blister, then ruptures to form the characteristic honey-colored crust, often in patches that spread by contact. Herpes sores recur in the same location; impetigo can appear anywhere but favors the face and hands.

When the diagnosis is not obvious from appearance alone, lab tests can help. A simple cytology test performed on cells scraped from the base of a vesicle can identify features characteristic of viral infection with reasonable accuracy. One study evaluating this technique found it had a sensitivity of about 86% and specificity of about 91% for viral infections.9PubMed Central. Diagnostic value of Tzanck smear in various erosive, vesicular, and bullous skin lesions More definitive testing, like viral culture or PCR for herpes, or bacterial culture and sensitivity testing for suspected impetigo, can confirm the cause and guide treatment more precisely. If your sores are not responding to whatever you have been prescribed, getting a definitive diagnosis is worth the extra step.

Drug Resistance With Each Medication

Both mupirocin and acyclovir face resistance problems, though the mechanisms and practical consequences differ.

For mupirocin, bacteria can acquire a gene that codes for an alternative version of the enzyme the drug targets. With this backup enzyme in place, the bacteria can keep building proteins even when mupirocin is present. A study of Staphylococcus aureus isolates from children with recurrent skin infections found that about 15% were resistant to mupirocin, with the resistance gene more common in strains that were still susceptible to methicillin than in MRSA strains.10PubMed Central. Mupirocin resistance in Staphylococcus aureus causing recurrent skin and soft tissue infections in children This is concerning because mupirocin is one of the few topical agents reliable against MRSA, and rising resistance could erode that role. The resistance gene is carried on a mobile genetic element, meaning it can spread between bacterial strains relatively easily. Overuse of mupirocin, particularly for prolonged or repeated courses, is thought to accelerate this resistance, which is why many guidelines recommend limiting its use to short treatment courses.

For acyclovir, resistance arises from mutations in the herpes virus’s own genetic code, specifically in the gene for the enzyme that activates the drug inside infected cells. If that enzyme stops working or changes shape so it can no longer process acyclovir, the drug never gets switched on and remains inert. Most acyclovir-resistant herpes strains have a deficient or absent version of this activating enzyme.11PubMed. Reactivation of acyclovir-resistant thymidine kinase-deficient herpes simplex virus harbouring single base insertion within a 7 Gs homopolymer repeat of the thymidine kinase gene Research has identified specific mutations in this gene that eliminate the enzyme’s function and clearly drive resistance.12PubMed Central. Herpes simplex virus thymidine kinase mutations associated with resistance to acyclovir: a site-directed mutagenesis study Mutations in both well-known functional regions of the gene and in less-studied areas have been shown to cause high-level resistance.13PubMed Central. Thymidine kinase mutations conferring acyclovir resistance in herpes simplex type 1 recombinant viruses

Acyclovir resistance is uncommon in people with healthy immune systems, estimated at well under 1% of herpes simplex isolates. In immunocompromised patients, particularly those undergoing organ transplants or chemotherapy, resistance rates jump considerably because the virus replicates for longer periods under drug pressure. For those patients, alternative antivirals like foscarnet or cidofovir become necessary.

Side Effects and Safety Profiles

Both drugs are well tolerated when used topically, which is the form most people encounter. Mupirocin ointment occasionally causes mild burning, stinging, or itching at the application site. Allergic reactions are rare. Because the drug is applied to the skin and poorly absorbed into the bloodstream, systemic side effects are essentially absent. The nasal formulation used for decolonization can cause nasal stinging and, uncommonly, headache.

Topical acyclovir cream can also cause mild stinging or burning. The oral form, which is far more commonly prescribed for anything beyond a small cold sore, is generally safe but can cause nausea, headache, and diarrhea. At high doses or in patients with kidney problems, acyclovir can crystallize in the kidneys and cause damage, so adequate hydration and dose adjustment are important in those situations. This kidney concern is essentially irrelevant for the topical cream, given how little drug actually reaches the bloodstream through the skin.

Practical Scenarios and Common Mistakes

A few real-world situations come up repeatedly where people reach for the wrong tube:

  • Cold sore treated with mupirocin: If someone in the household has mupirocin left over from a previous skin infection and applies it to a new cold sore, it will do nothing for the virus. The sore will follow its natural course, which may be mistaken for the antibiotic “working slowly.”
  • Impetigo treated with acyclovir cream: Less common, but parents who have acyclovir cream on hand sometimes try it on a child’s facial sores, especially if the sores look blister-like. The bacteria will continue spreading, potentially worsening.
  • Using either drug “just in case”: Neither medication is a broad-spectrum fix for mystery sores. Using the wrong one wastes time, which can matter when a bacterial infection is spreading or when early antiviral treatment could have shortened a herpes outbreak.
  • Stopping too early: Mupirocin courses are typically five to ten days. Stopping after two days because the sore looks better risks incomplete clearance and contributes to resistance. Acyclovir courses should similarly be completed as prescribed.

The underlying lesson is straightforward: these are precision tools, not interchangeable ointments. Identifying the cause of your skin lesion is the prerequisite for effective treatment.

Over-the-Counter Access and Prescription Requirements

In most countries, mupirocin is prescription-only. You will not find it on pharmacy shelves next to triple-antibiotic ointments like bacitracin or neomycin combinations. This prescription barrier exists partly to help control resistance, since widespread over-the-counter use would likely accelerate the spread of mupirocin-resistant bacteria.

Acyclovir’s availability varies more by country. In the United States, topical acyclovir cream (sold as Zovirax) is available over the counter for cold sores, while the oral tablets require a prescription. In the United Kingdom, both the cream and oral tablets can sometimes be obtained through pharmacist consultation without a traditional prescription. Other countries have their own rules. Regardless of access, using acyclovir effectively for cold sores depends on starting treatment at the first prodromal tingle, before blisters appear. Once sores are fully formed and crusted, the window for meaningful benefit from topical application has largely closed.

Alternatives Within Each Category

If mupirocin is not available or resistance is suspected, other topical antibiotics like retapamulin or fusidic acid (outside the US) cover similar bacterial targets. For more severe or widespread bacterial skin infections, oral antibiotics such as cephalexin, dicloxacillin, or trimethoprim-sulfamethoxazole may be needed, particularly when MRSA is involved.

If topical acyclovir is not doing enough for herpes outbreaks, the oral antivirals valacyclovir and famciclovir offer better bioavailability and more convenient dosing. Valacyclovir is essentially a prodrug that converts to acyclovir in the body but achieves higher blood levels with less frequent dosing. For acyclovir-resistant herpes in immunocompromised patients, intravenous foscarnet is the typical fallback, though it comes with significant toxicity, particularly to the kidneys. Penciclovir cream is another topical antiviral option for cold sores, working through a similar mechanism to acyclovir but with somewhat different tissue penetration characteristics.