Contact Dermatitis vs Cellulitis

Contact dermatitis is a rash caused by something that touched the skin. It comes in two forms - irritation from a substance that would bother anyone given enough exposure, and an allergic reaction to something only some people react to. Both clear once the cause is found and removed. Cellulitis is a bacterial infection of the deeper layers of the skin and the fat underneath. The area becomes swollen, warm, tender and discolored, and it spreads. It needs antibiotics, and some presentations need care the same day.

Reviewed by Dr. Schwarz, Board-Certified Dermatologist · Research updated 2026-10-23
The back of one hand and the wrist on pale skin. A bright pink, slightly swollen patch with tiny blisters covers the back of the hand and stops at a straight line across the wrist.One lower leg on light skin with a large bright pink-red area that is swollen and tight-looking, with a shiny surface and a blurred edge where it fades into normal skin.

Key differences

The same eight facts on every condition comparison.

Usual age
Any age
Any age
Where
Where something touched
Often the lower leg
Main sign
Red, itchy or burning rash
Spreading warm, swollen, tender area
Itch or pain
Itchy or burning
Painful
Contagious
No
No
Long term
Clears once the cause stops
Clears with antibiotics; can recur
Scars
No
Rarely
Who gets it
Anyone; wet-work jobs
Broken skin, swelling, diabetes

What is it?

Contact Dermatitis
Cellulitis
What is it?

It is eczema from contact.
A substance touching the skin provokes the rash.

There are two types.
Irritant dermatitis damages the barrier directly; allergic dermatitis is a delayed immune reaction.

Patch testing finds allergies.
It differs from skin-prick testing.

The exposure is part of treatment.
Identifying what touched the skin guides care.

It is a bacterial skin infection.
Bacteria enter through a crack or wound, sometimes too small to notice.

It affects deeper skin layers.
Inflammation in the dermis and fat causes warmth, tenderness and swelling.

Lookalikes are common.
Dermatitis and venous inflammation can appear similar.

Diagnosis is mainly clinical.
Tests are used selectively; a swollen leg may also need a clot check.

What it looks like

Contact Dermatitis

Contact Dermatitis: Dry, cracked hands; Irritant.

Irritant contact dermatitis Damage from soaps, solvents or water; most common.

Contact Dermatitis: Allergic.

Allergic contact dermatitis Immune reaction to nickel, fragrance, plants and more.

Cellulitis

A swollen red lower leg and foot, representing cellulitis.

Swollen leg Warm, tender, one-sided swelling.

A pen tracing a border near an area of red swollen lower-leg skin, representing monitoring of spreading cellulitis.

Spreading area Enlarges over hours to days.

A small superficial wound on a red swollen area of the foot, representing a possible cellulitis entry point.

Entry point Often a cut or cracked skin.

Skin tones
The back of one hand and the wrist on pale skin. A bright pink, slightly swollen patch with tiny blisters covers the back of the hand and stops at a straight line across the wrist.
The back of one hand and the wrist on medium olive skin. A dusky pink-brown, slightly swollen and scaly patch covers the back of the hand and stops at a straight line across the wrist.
The back of one hand and the wrist on mid-brown skin. A violet-brown, swollen, slightly scaly patch covers the back of the hand and stops at a straight line across the wrist, with no red color in it.
The back of one hand and the wrist on deep brown skin. A dark violet-brown, swollen, scaly patch covers the back of the hand and stops at a straight line across the wrist, with no red color anywhere in it.
One lower leg on light skin with a large bright pink-red area that is swollen and tight-looking, with a shiny surface and a blurred edge where it fades into normal skin.
One lower leg on medium tan skin with a large dusky pink-brown area that is swollen and tight-looking, with a shiny surface and no clear edge.
One lower leg on brown skin with a large area that is slightly darker and more violet than the skin beside it, swollen and tight-looking. The color change is subtle and has no clear edge.
One lower leg on deep brown skin with a large swollen, tight-looking area that is only slightly darker and grayer than the skin beside it. The color change is very subtle and has no clear edge.
Diagram
Contact Dermatitis mechanism diagram. Irritants damage the barrier: Repeated exposure can directly injure outer skin. Inflammation causes a rash: Both routes can cause itching, scale, and swelling. Allergy activates immune memory: A sensitized immune system reacts to a contact allergen.
Cellulitis mechanism diagram. Bacteria enter a skin break: A small crack or wound can be an entry point. Infection affects deeper tissue: The dermis and nearby tissue become inflamed. Swelling and warmth develop: The affected area may expand.
In the skin

Skin contact can cause inflammation through direct irritation or a delayed allergic reaction. These are different routes to a rash that may itch, swell, blister or scale.

Bacteria enter through a break in the barrier and infect deeper skin and nearby tissue. The inflammatory response causes warmth, swelling, tenderness and an area that may expand.

Where it shows up

Where the skin meets a trigger
Often one lower leg

When it usually starts

010203040506070+

Contact Dermatitis. Can begin at any age after irritation or sensitization to a contacting substance.

Cellulitis. Can develop at any age when bacteria enter deeper skin, often through a break in the barrier.

Causes and triggers

Causes

Contact dermatitis happens when something touching the skin either damages it directly or sets off an allergic reaction. The rash shows up where the contact happened.

Cellulitis is a bacterial infection, usually from strep or staph, that gets into the deeper skin through a break.

Family tendency

People with eczema or a family history of allergies react more easily.

Risk factors
Eczema, Wet work, Healthcare, cleaning and hairdressing jobs, Frequent handwashing
Swelling in the legs, Obesity, Diabetes, Past cellulitis
Trigger
● Contact Dermatitis
● Cellulitis
Nickel
Well established
Not listed
Fragrance
Well established
Not listed
Poison ivy
Well established
Not listed
Hair dye
Strong link
Not listed
Harsh soaps and solvents
Well established
Not listed
Preservatives in skincare
Strong link
Not listed
Cuts and scrapes
Not listed
Well established
Athlete's foot cracks
Not listed
Well established
Insect bites
Not listed
Strong link
Surgical wounds
Not listed
Strong link

Daily Care

Contact Dermatitis
Cellulitis
Daily care

Habits that help

  • Find the cause and stop it
    Photograph it and list what touches it.
  • Learn the ingredient names
    One molecule hides in dozens of products.
  • Switch to fragrance-free products
    A meaningful label, unlike unscented.
  • A thick, plain moisturizer, applied often
    Barrier repair is half the treatment.
  • The right gloves, worn the right way
    Vinyl or nitrile, cotton liner, off when done.
  • Lukewarm water and a non-foaming wash
    Dry gently, moisturize straight after.
  • Barrier protection for nickel
    Clear polish short term, titanium or steel long term.
  • Cool compresses
    Gently apply a cool, damp cloth to soothe weeping or irritated skin.
  • Patch testing
    The only way to name an allergen.

Avoid

  • Avoid: Carrying on using the product
    Why most rashes last months.
  • Avoid: Frequent handwashing and hand sanitizer
    Water, detergent and alcohol strip broken skin.
  • Avoid: Occlusive gloves worn for hours
    Trapped sweat swells skin.
  • Avoid: Hot water and scrubbing
    Both strip barrier fats.
  • Avoid: Scratching
    Lets more trigger in and thickens the skin.
  • Avoid: Adding more products to soothe it
    Fragrance and botanicals cause a second reaction.
  • Avoid: Numbing and anti-itch creams
    Names ending in -caine often cause allergy.
  • Avoid: Wet wipes and moist toilet tissue
    The preservatives are known allergens.
  • Avoid: Sweat under metal
    Nickel releases faster in sweat - buckles and jewelry flare.
  • Avoid: Sunlight, for some substances
    Some ingredients only react after sunlight changes them.
  • Avoid: An allergen hiding in another product
    Nail polish on eyelids, hair dye on the neck.
  • Avoid: Stopping treatment when it looks better
    Allergic reactions take two to four weeks.
  • Avoid: Anti-itch creams ending in -caine
    Numbing ingredients such as benzocaine are another frequent cause of allergic contact dermatitis. The relief is brief, and a rash that gets worse the more cream you use is a classic story. If an anti-itch product seems to be making things worse, stop it and mention it to your doctor.

Habits that help

  • Elevate the limb, properly and often
    Raise the affected limb to ease swelling alongside prescribed treatment.
  • Mark the edge with a pen and the time
    Track spreading redness; seek reassessment if it expands or you feel worse.
  • Clean and cover breaks in the skin
    Get bites and punctures assessed.
  • Check your feet daily
    With diabetes or reduced sensation.
  • Treat athlete's foot and keep treating it
    Closes the main entry point.
  • Ask when to resume prescribed compression after acute cellulitis improves
    Compression helps some people prevent recurrent cellulitis after recovery. Do not put stockings over an acutely painful inflamed leg without the treating clinician’s advice.

Avoid

  • Avoid: Leaving the leg down all day
    Elevation is treatment.
  • Avoid: Unnoticed cuts and cracks on the feet
    Easy to miss with numb feet.
  • Avoid: Scratching eczema, psoriasis or bites
    Every scratch is an entry point.
  • Avoid: Untreated athlete's foot
    The commonest entry point.
  • Avoid: Delaying treatment
    It expands over hours.
  • Avoid: Using steroid cream instead of assessment for suspected cellulitis
    Steroid creams do not treat infection.
  • Avoid: Leg swelling that is never addressed
    Why episodes repeat.
  • Avoid: Leg ulcers and chronic wounds
    A continuously open barrier.
  • Avoid: Assuming both legs at once is cellulitis
    Usually stasis dermatitis.
  • Avoid: Steroid creams
    A steroid cream calms the look of inflamed skin without touching the infection underneath, so it can quieten the appearance while the infection carries on spreading. Cellulitis is mistaken for a rash often enough that this is worth saying plainly. If a leg is hot, swollen, tender and growing, it needs assessing, not a steroid.

Treatment differences

Evidence labels come from each condition’s own treatment list.

Treatment
● Contact Dermatitis
● Cellulitis
Over-the-counter
A plain white ointment tube lying on its side, labeled Hydrocortisone with a blue swoosh.

Hydrocortisone 1%

Limited evidence

The mildest topical steroid, and enough for a small patch on the body once the contact has stopped. Use it twice a day for one to two weeks rather than dabbing it on now and then. It is often too weak for the hands or feet, and on the face or eyelids it should be short-term and worth asking about first.

Illustration: Generic oral tablet bottle and tablets.

Antihistamine tablets

Limited evidence

Contact dermatitis is not driven by histamine, so antihistamines do very little for the rash itself. A sedating one at night can help you sleep through the itching instead of scratching, which is worth something. The non-drowsy daytime ones sold for hay fever will not make much difference here.

Illustration: Generic ointment jar and translucent ointment.

OTC antibiotic ointments

Avoid

Worth naming because they are so often reached for. Neomycin and bacitracin are among the most common contact allergens there are, so an ointment used on an itchy rash can become the reason the rash will not go. Unless the skin is genuinely infected, plain petroleum jelly does the same job with none of the risk.

Four ointments on white: CeraVe Healing Ointment, a Vaseline jar, a petroleum jelly tube and Aquaphor

Petrolatum

Moderate evidence

Plain petroleum jelly, or any thick fragrance-free ointment, rebuilds the barrier that irritation broke. Barrier repair is genuinely half the treatment in irritant hand dermatitis, and it works because it has no fragrance, preservative or botanical in it to start a second reaction. Apply after every hand wash, not once a day.

Five colloidal oatmeal eczema products lined up on white: tubes, a jar and a pump lotion

Colloidal Oatmeal

Limited evidence

An oatmeal bath can take the edge off the itch of a widespread reaction, in cool rather than hot water. It is comfort only. Pick a plain one, because an itch product with fragrance or botanicals in it is a common way people acquire a second allergy on top of the first.

Existing Dermapedia illustration of acetaminophen and ibuprofen.

Acetaminophen and ibuprofen

Limited evidence

These cover the pain and bring the fever down while the antibiotics do the work. Taking them regularly for the first couple of days works better than waiting for the pain to peak. They do not treat the infection, and pain that is far worse than the skin looks is a reason to be seen urgently rather than to take more.

Existing educational treatment illustration: Spinosad

Terbinafine cream

Limited evidence

Athlete's foot between the toes is the most commonly identified way bacteria get into a leg, and it is one of the few entry points you can genuinely close. An antifungal cream used on the toe webs for two to four weeks, and repeated whenever the skin cracks again, lowers the chance of another episode. It does nothing for the infection you have today.

Antibiotic ointment from the shelf.

Antibiotic ointment from the shelf

Avoid

Cellulitis sits below the surface, deeper than any cream reaches, so an over-the-counter antibiotic ointment cannot treat it. Using one and watching for a day is a common reason people arrive later than they should. It is reasonable on a small fresh cut to keep it clean, and that is all.

Prescription topicals
Representative medication packaging labelled Triamcinolone, lying sideways on a white background.

Triamcinolone Acetonide

Moderate evidence

A mid-strength steroid cream or ointment, the usual prescription for contact dermatitis on the body, arms or legs. Two weeks of it will clear most reactions once the contact has stopped. It is too strong for the eyelids and the folds, and it is a treatment for the inflammation, not for the cause.

Clobetasol — Header Image

Clobetasol

Moderate evidence

Clobetasol Propionate. A potent steroid ointment for hands and feet, where the skin is thick enough that milder creams barely register. It is used in short bursts of two to three weeks with breaks in between, not continuously. Nothing above the neck, and remember that hand dermatitis takes six weeks or more to settle even when the steroid is doing its job.

Protopic — Header Image

Protopic

Moderate evidence

A non-steroid ointment for the eyelids, face and skin folds, where repeated steroid use thins the skin. It calms the same immune reaction without that risk, which makes it useful for eyelid dermatitis that keeps returning while the trigger is being tracked down. It stings for the first few days, and that usually passes.

16:9 hero for Desonide. Never cropped: the tone strip and the corner logo depend on the full frame.

Desonide

Limited evidence

A mild steroid stronger than over-the-counter hydrocortisone but gentle enough for the face and eyelids in short courses. It is the usual first prescription when a reaction has landed above the neck. Use it for the days it is prescribed for, not as something kept in the drawer.

16:9 hero for Elidel. Never cropped: the tone strip and the corner logo depend on the full frame.

Elidel

Limited evidence

A gentler alternative to tacrolimus for the face and eyelids, and easier to tolerate for people who cannot get past the initial burning. It is not strong enough for hand dermatitis. Like tacrolimus, it buys comfort while the actual trigger is being identified.

Mupirocin — Header Image

Mupirocin

Limited evidence

Useful only for the small crusted sore or infected wound that let the bacteria in, not for the cellulitis itself, which is far too deep for a cream to reach. Treating the entry point matters, but it happens alongside antibiotic tablets, never instead of them.

Prescription pills
Prednisone — Header Image

Prednisone

Moderate evidence

Steroid tablets for a widespread, blistering reaction, most often poison ivy covering large areas or a rash on the face that is closing an eye. The course has to run two to three weeks with a taper; the short packs are the usual reason the rash rebounds a few days after finishing. It is for the big reactions only, not for a patch on one arm.

An amber pill bottle labeled Cyclosporine tipped over with white tablets spilling out

Cyclosporine

Limited evidence

A short specialist course for severe hand dermatitis that has not responded to strong steroids and proper avoidance. It works quickly and reliably, which is exactly why it is used for a few months rather than long term — blood pressure and kidney function have to be watched throughout. It is a bridge, not an answer.

16:9 hero for Methotrexate. Never cropped: the tone strip and the corner logo depend on the full frame.

Methotrexate

Limited evidence

A weekly tablet sometimes used for chronic hand dermatitis when avoidance and creams have genuinely failed. The evidence in contact dermatitis specifically is thin, mostly borrowed from eczema. It needs regular blood tests, and it is a specialist decision rather than a next step.

Antibiotic tablets for infection

Antibiotic tablets for infection

Listed

Used only when bacteria have moved into the broken skin — spreading warmth and pain, pus, or fever. They treat the infection sitting on top and do nothing to the dermatitis underneath, so the steroid and the avoidance carry on alongside them.

Cephalexin

Cephalexin

Strong evidence

The usual first choice for ordinary cellulitis, taken four times a day for about five to seven days. It covers the streptococci behind most cases and many staph as well. Antibiotics are not optional here - there is no version of cellulitis that clears without them - and the course is finished even though you feel better in two days.

An amber prescription bottle lying on its side on a white background with a plain white label reading Doxycycline, and six small round white tablets spilled out in front of it.

Doxycycline

Moderate evidence

Used when MRSA is a concern, when there is pus or a boil involved, or when penicillins do not suit. It is often paired with a second antibiotic because it covers strep less reliably on its own. It is avoided in pregnancy and in young children, and it makes sunburn more likely.

Trimethoprim-sulfamethoxazole

Trimethoprim-sulfamethoxazole

Moderate evidence

The other main option when MRSA is suspected, particularly with an abscess or a draining wound. Like doxycycline it is often combined with an antibiotic that covers strep properly. It needs care with kidney problems and with some other medicines, so tell the prescriber everything you take.

A white metal tube lying at an angle on a white background, white ribbed cap to the left, labeled Clindamycin in black lettering with a teal swoosh curving beneath the word.

Clindamycin

Moderate evidence

An alternative for a genuine penicillin allergy, and it covers both strep and most staph. It causes diarrhoea more often than the others and carries a higher risk of a bowel infection called C. difficile, so it is usually not the first pick. Report diarrhoea that starts during or after the course.

Low-dose preventive antibiotics

Low-dose preventive antibiotics

Listed

For people who keep getting episodes, a small daily dose of penicillin taken for months roughly halves how often they come back. The effect fades once it is stopped, so it works best alongside compression and treating the entry point. Ask about it if you have had two or more episodes.

Injections
A white and green autoinjector pen labeled Dupixent lying on a plain pale background

Dupixent

Limited evidence

An injected biologic increasingly asked about for chronic hand dermatitis. Reports are encouraging for the eczema-like cases, but it is not approved for allergic contact dermatitis and some allergens appear not to respond to it. It does not replace finding and removing the trigger, and it is a specialist conversation.

None listed

Outlook

Long term

Timing is the best clue to which form you have. The rash is temporary; the allergy is not - sensitization is generally lifelong, so avoidance is permanent. Once the substance is named and avoided, most people stay clear.

Cellulitis needs prompt antibiotic treatment. Symptoms should begin improving within two to three days, although skin changes can take longer to settle. Worsening symptoms or failure to improve needs reassessment; swelling and repeat episodes can occur.

Complications

Possible complications
  • Infection in the broken skin
  • Chronic hand dermatitis
  • Time off work
More details

Infection in the broken skin
Weeping, cracked or scratched skin gives bacteria an opening, most often on the hands. The signs are honey-colored crusts, pus, increasing pain, or redness and warmth spreading outward. It is common and it is treatable, but it needs antibiotics rather than more steroid cream, so it is worth being seen rather than waiting it out.

Chronic hand dermatitis
When the exposure carries on, hand dermatitis stops settling between flares. The skin thickens, the normal lines deepen, and painful cracks open across the fingertips and knuckles that catch on everything and are slow to close. It is the reason contact dermatitis is a leading work-related skin problem, and it is largely preventable by naming the cause early instead of treating the rash for months.

Time off work
Hand dermatitis is one of the leading work-related health problems, and for people in wet or chemical work it can mean weeks of light duties, a change of role, or leaving a trade. It is also the part most often left out of the conversation. Naming the cause early, and getting the right gloves and routine in place, is what keeps the job.

  • An abscess underneath
  • Swelling and repeat episodes
  • Sepsis
More details

An abscess underneath
A pocket of pus can form inside the infected area, most often when Staphylococcus aureus is involved or there was a boil or wound to begin with. It shows up as a tender lump that feels boggy or fluid-filled, and it is a common reason antibiotics alone are not working at 48 hours. Pus has to be drained as well as treated, so this is a reason to go back rather than wait.

Swelling and repeat episodes
Each episode damages the lymph channels that drain the limb, so the limb swells more afterwards, and a limb that swells is more likely to be infected again. A previous episode is the strongest predictor of the next one. Compression, daily moisturizer and treating athlete's foot break the loop better than any antibiotic does.

Sepsis
The infection can reach the bloodstream and affect the whole body. The signs are a high fever with shaking chills, confusion or new drowsiness, a racing heart, fast breathing, feeling faint, or passing very little urine. It is uncommon but it is time-critical, so it is an emergency department problem rather than a next-day appointment.

When to get help

When to get help

Seek help for persistent or recurrent rash; patch testing may identify contact allergy. Pain, spreading warmth, pus or fever require prompt assessment.

Suspected cellulitis needs prompt medical assessment. Rapid spread, severe pain, fever, confusion or infection near the eye warrants urgent care.

Common questions

Contact Dermatitis:How do I figure out what caused it?

Start with location and shape, not a list of products. Photograph the rash, note where its edges are, and look for an object or habit that matches that outline. An allergic reaction shows up one to three days after contact, so look at what happened two days before, not that morning. Include things you have used for years - those are the likeliest candidates, not the least. If a few weeks of attention does not settle it, patch testing ends the guessing.

Contact Dermatitis:How long does it take to clear up?

An irritant reaction improves within days of contact stopping. An allergic reaction takes two to four weeks to settle even with treatment, because the immune cells doing the damage take that long to stand down. Hands are slowest, often six weeks or more, because the skin there is used and washed constantly. Judging it at day three tells you very little.

Contact Dermatitis:Is it contagious?

No. This is your own skin reacting to a substance, not an infection. You cannot pass it on by touch. If two people in a household get the same rash, they were both exposed to the same thing.

Contact Dermatitis:Will the allergy ever go away?

Generally no. Once your immune system has learned a substance, that memory is permanent, and tiny amounts can trigger a reaction years later. In practice it is less grim than it sounds - people who know their allergen and avoid it stay clear indefinitely, and the avoidance is usually narrower than they feared.

Contact Dermatitis:Why did this appear on my eyelids when I never put anything there?

Eyelid skin is the thinnest on your body, so it reacts to amounts the rest of your skin ignores. Nail polish, hair products, face creams and airborne particles reach the eyelids from your hands or from your scalp. When a rash is on the eyelids alone, the cause is usually somewhere else.

Contact Dermatitis:Can I just use hydrocortisone from the pharmacy?

For a small, mild patch on the body, often yes, alongside stopping the contact. Over-the-counter hydrocortisone is a mild strength and rarely clears thicker skin on hands or feet. On the face and eyelids keep it short-term, and ask first. It treats the inflammation, not the cause - if the rash returns each time you stop, find the trigger.

Cellulitis:Is cellulitis contagious?

No. The bacteria already live on normal skin, and the infection is in your own deeper tissue. You cannot pass it on, and there is no need to isolate from family. Keep any open, draining wound covered - ordinary wound care.

Cellulitis:Why does it look worse after I started antibiotics?

Common in the first 24 to 48 hours. Dying bacteria release material that briefly intensifies the immune reaction, so the area can look more inflamed while you improve. Watch how you feel, whether the fever settles, and whether the marked edge stops. If it is still spreading at 48 hours, go back.

Cellulitis:How long will it take to go away?

You should feel better within one to two days, and a typical antibiotic course runs about 5 to 7 days. The skin takes one to two weeks to settle, and peeling is normal. Some swelling and a darker or lighter mark can persist for weeks to months, especially on deeper skin tones.

Cellulitis:Do I need to be in hospital?

Most cellulitis is treated with tablets at home. Antibiotics into a vein are used when it is severe or spreading fast, with a high fever or signs of sepsis, when the face or around the eye is involved, when tablets have failed, or with diabetes, poor circulation or a weakened immune system.

Cellulitis:Why does it keep coming back?

Usually because the limb still swells and the entry point was never closed. Long-term leg swelling, untreated athlete's foot, and lymph drainage damaged by a previous episode all make the next one more likely. Compression, moisturizing and treating the foot fungus do more than any antibiotic. If it keeps happening, ask about long-term preventive antibiotics.

Cellulitis:Is this the same as cellulite?

No, and the similar names cause a lot of confusion. Cellulite is dimpled normal fat beneath the skin, a cosmetic matter. Cellulitis is a bacterial infection of the deeper skin that needs antibiotics and sometimes urgent care.

Sources

Sources and further reading

  1. DermNet
  2. DermNet
Dermapedia on YouTube