Skip to main content

Medicine safety

Medicine-related photosensitivity: when sunlight and a medicine react

Some medicines make the skin react abnormally to ultraviolet light, producing a rash that can look like severe sunburn or like eczema. The reaction is usually on skin exposed to daylight, and the medicines involved range from common antibiotics to heart and anti-inflammatory drugs. Recognising the pattern lets a clinician review the medicine and lets you avoid repeat reactions.

Last checked: 2026-10-03

Key facts

At a glance.

  • Two mechanisms

    Phototoxic reactions behave like exaggerated sunburn; photoallergic reactions are immune-driven and look more like eczema.

  • Timing

    Phototoxic reactions appear within minutes to hours; photoallergic ones typically take 24 to 72 hours, according to DermNet.

  • Pattern

    A sharp line where clothing ends is typical of phototoxicity; photoallergy can spread beyond exposed skin.

  • Common culprits

    Tetracycline antibiotics, fluoroquinolones, some anti-inflammatories, amiodarone, furosemide and oral retinoids are among those described.

  • First step

    Do not stop a prescribed medicine on your own; ask the prescriber or pharmacist, and cover up and shade the skin meanwhile.

What is happening in the skin

A medicine that reaches the skin through the bloodstream, or a cream applied directly, can absorb ultraviolet energy. That energy can then injure skin cells directly or trigger an immune response. Neither process needs the sun to be strong, and some reactions occur through a window or on a cloudy day.

Clinicians separate two types. Phototoxic reactions are not immune-mediated and relate to how much of the medicine is present and how much light reaches the skin, so in principle they can affect anyone taking enough of a photosensitising drug. Photoallergic reactions need an earlier sensitising exposure, usually over about a week or more, and then flare on re-exposure, which is why they affect only a minority of people.

Telling the two types apart

In practice the two overlap, and a clinician decides from the story, the distribution and the medicine list rather than from the rash alone.

Typical features as described by DermNet
FeaturePhototoxicPhotoallergic
Onset after light exposureMinutes to hoursAbout 24 to 72 hours
Looks likeSevere sunburn, burning or stinging, sometimes blistersItchy eczema-like rash, may crust
DistributionSharply limited to exposed skin, with clear lines under clothingExposed skin first, may spread beyond it
Who gets itAnyone on enough of the medicine and lightOnly people who have become sensitised
After stopping the medicineUsually settles; marks may lingerOccasionally lasts months

Medicines commonly involved

DermNet lists tetracyclines such as doxycycline, fluoroquinolone antibiotics, anti-inflammatories such as ibuprofen and naproxen, amiodarone, furosemide and oral retinoids among phototoxic agents. Topical anti-inflammatory gels, some fragrances, phenothiazines and certain sunscreen ingredients are examples linked with photoallergy. The NHS page for doxycycline lists skin that is more sensitive to the sun as a side effect, with rash, itching and redness.

The list is not exhaustive, and a patient information leaflet is the quickest place to see whether a new medicine carries a sun warning. Herbal products such as St John's wort are also associated with light sensitivity, so it is worth including supplements when you review your medicines with a pharmacist.

How clinicians confirm it

Most diagnoses rest on timing: a new medicine, then a rash on exposed areas of the face, backs of the hands, forearms and the V of the neck, with the area under a watch strap or shirt collar spared. Photo testing and photopatch testing in a specialist dermatology unit can reproduce a reaction under controlled light, and are used when the cause is unclear or a person must stay on a medicine that is under suspicion. A skin biopsy is rarely needed.

Other conditions can mimic the pattern, including polymorphic light eruption, lupus and sunburn from simple overexposure, so a rash that keeps returning in summer deserves a proper review even if no medicine seems responsible.

Protection and treatment

The main treatment is to identify the medicine and, where it is safe to do so, replace it or change when it is taken. The decision rests with the prescriber, because some of these medicines treat serious conditions. In the meantime, strict photoprotection is advised: broad-spectrum high-SPF sunscreen, protective clothing, a wide-brimmed hat and avoiding the middle of the day.

Cool compresses, simple moisturisers and, where needed, topical or short courses of oral steroids can calm inflammation. The NHS sunburn page recommends cooling the skin, using aftersun or unperfumed moisturiser, drinking plenty of water and avoiding petroleum jelly, ice packs and bursting blisters. It also recommends 111 or an urgent GP appointment for blistering, swelling, fever or chills, dizziness or sunburn in babies and young children.

  • Read the leaflet for any sun warning when a new medicine is started.

  • Apply sunscreen even on cloudy days and reapply as directed on the product.

  • Remember that window glass blocks some, not all, of the light that triggers reactions.

  • Tell the dermatologist about every cream, tablet and herbal product used.

Longer-term effects and skin cancer risk

Dark patches can remain after a phototoxic reaction and fade slowly. Photoallergic reactions are occasionally persistent. The NHS notes that sunburn can increase the risk of skin cancer, which is a further reason to avoid repeated burns while taking a photosensitising medicine over many months.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • Is a sunburn-like rash on a new antibiotic always a drug reaction?

    Not always, but it is common enough to take seriously. Mention the rash to the prescriber or a pharmacist, who can check whether the antibiotic carries a sun warning and advise on next steps.

  • Can I stay on the medicine if I cover up?

    Sometimes. Whether it is safe depends on the medicine, the condition it treats and how severe the reaction is. Make the decision with the prescriber rather than stopping a medicine alone.

  • Does sunscreen fully prevent the reaction?

    It reduces risk but does not remove it, because some light types still get through and sunscreen cannot always block the wavelengths involved. Clothing and shade are usually more reliable.

  • How long does the reaction last?

    Phototoxic reactions generally settle after the medicine is stopped, though discolouration may linger. Photoallergic reactions can sometimes continue for months.

  • Can sunbeds trigger it?

    Yes, ultraviolet light from sunbeds can trigger the same reaction, and sunbeds are best avoided in general.

  • Are creams as risky as tablets?

    Some topical products, including certain anti-inflammatory gels, are associated with photoallergy. The reaction is usually limited to where the product was applied.

  • What is photopatch testing?

    It is a specialist test in which small amounts of suspected substances are applied to the skin and some are exposed to light, to see which reproduce the rash.

  • Could my rash be polymorphic light eruption instead?

    It could. That condition is triggered by sunlight alone, without a medicine, and tends to recur each spring and summer. A clinician can tell the difference using the history and, if needed, testing.

  • When is a sun reaction an emergency?

    Call 999 for swelling of the lips, tongue or throat or trouble breathing. Use 111 or an urgent GP appointment for widespread blistering, fever, or dizziness after a burn.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-03, next review 2027-10-03.