Sunburn can absolutely cause swollen ankles, and the connection is more direct than most people realize. The same inflammatory cascade that turns your skin red and tender also drives fluid out of blood vessels and into surrounding tissue, a process called edema. When that sunburn is on or near the lower legs, or when the body’s broader inflammatory response combines with gravity pulling fluid downward, ankles are a common place for that swelling to settle. The phenomenon even has its own small corner of the medical literature, with at least one clinical paper specifically titled “Sunburn and swelling: the edema of erythema.”1PubMed. Sunburn and swelling: the edema of erythema
Why Sunburned Skin Swells
When ultraviolet radiation damages skin cells, the body launches a rapid inflammatory response. Within the first hour after a significant UV exposure, mast cells in the skin begin releasing their contents, including histamine, one of the body’s primary alarm signals. Research on the human sunburn reaction has shown that mast cell degranulation and visible swelling around small blood vessels appear within the first hour and become pronounced by the time redness sets in, roughly three to four hours after exposure. Histamine levels in the affected skin climb to about four times their normal baseline around the onset of redness.2Journal of the American Academy of Dermatology. The human sunburn reaction: Histologic and biochemical studies
Histamine does not work alone. Studies on human skin samples have found that UV injury triggers roughly a fivefold increase in the production of prostaglandins, which are inflammatory molecules that dilate blood vessels and make their walls more permeable. The histamine released from mast cells actually stimulates this prostaglandin surge, creating a feedback loop that amplifies both redness and swelling. When researchers blocked histamine receptors with antihistamines in those experiments, prostaglandin release dropped by about 63 percent.3PubMed Central. Enhanced prostaglandin synthesis after ultraviolet injury is mediated by endogenous histamine stimulation. A mechanism for irradiation erythema
The practical result of all this vascular change is that plasma, the liquid component of blood, leaks out of capillaries and pools in the tissue. That is the puffiness you feel when you press on sunburned skin and it feels tight or boggy rather than just hot.
Why the Ankles Specifically
Your ankles and feet sit at the bottom of the body’s plumbing system. Even under normal conditions, gravity encourages fluid to drift downward throughout the day, which is why many people notice their shoes feel tighter in the evening than in the morning. When widespread inflammation from a sunburn makes blood vessels throughout the legs more leaky, that extra fluid has nowhere to go but down.
This effect gets worse if the sunburn itself is on the lower legs. Burned skin on the shins, calves, or tops of the feet creates intense local inflammation right where gravitational pooling is strongest. But even a sunburn primarily on the back or shoulders can produce enough systemic inflammation to cause ankle puffiness, especially if you have been standing or sitting upright for hours afterward. The inflammatory mediators released by damaged skin travel through the bloodstream and can make vessels elsewhere slightly more permeable, too.
Research on how fluid shifts during acute inflammation helps explain why the swelling can feel so disproportionate to the visible burn. Inflammatory cytokines disrupt the normal tension between cells and the tissue scaffolding around them, causing the interstitial space to expand. This expansion generates a kind of suction pressure that actively draws more fluid in from surrounding vessels.4PubMed Central. Physiology and Molecular Mechanisms of the “Third Fluid Space” In plain terms, once the tissue starts swelling, the physics of the situation can make it swell more, particularly at the lowest point of the body.
The Typical Timeline
Swelling from sunburn usually follows a predictable course, though severity varies a lot depending on how badly the skin was burned and how much surface area is involved.
- First few hours: Redness appears and the skin begins to feel warm and tight. Mild puffiness may already be visible, especially around bony areas like the ankles or the tops of the feet.
- 6 to 24 hours: Swelling typically peaks during this window. The histamine surge that drives the early phase is strongest in the first several hours and tapers back to baseline within about 24 hours, but prostaglandin levels continue rising during this period.2Journal of the American Academy of Dermatology. The human sunburn reaction: Histologic and biochemical studies This is when the ankles may look visibly puffy and pressing a thumb into the skin leaves an indentation that slowly fills back in.
- 24 to 72 hours: Swelling gradually recedes as the inflammatory signals wind down. The redness and pain may persist or even worsen before improving, but the fluid accumulation usually resolves faster than the skin damage itself.
- Beyond 72 hours: If the swelling is not noticeably improving by the third day, or if it suddenly worsens, that is a signal to see a doctor. Persistent or one-sided leg swelling after a sunburn can indicate something other than straightforward inflammatory edema.
Managing the Swelling at Home
Most sunburn-related ankle swelling resolves on its own as the burn heals, but you can speed the process and feel more comfortable in the meantime.
Elevation is the simplest and most effective intervention. Propping your feet up above the level of your heart, whether on a stack of pillows while lying down or on an ottoman while reclining, uses gravity in your favor and encourages fluid to drain back toward the core. Try to keep the legs elevated as much as possible during the first 24 to 48 hours rather than just for a few minutes at a time.
Cool compresses on the sunburned areas help in two ways. They soothe the burning sensation and they gently constrict the dilated blood vessels, which slows the leaking of fluid into tissue. Avoid ice directly on burned skin, since sunburned skin is already compromised and ice can cause further damage. A damp, cool cloth or a bag of frozen vegetables wrapped in a towel works well.
Over-the-counter anti-inflammatory medication like ibuprofen can reduce both the pain and the swelling. Since the inflammatory response involves prostaglandins, and ibuprofen works by blocking prostaglandin production, the pharmacology actually lines up neatly with the underlying mechanism of sunburn edema. Staying well hydrated also matters. It sounds counterintuitive when you are already puffy, but dehydration after sun exposure can worsen fluid imbalance and slow recovery. Drink water steadily rather than restricting fluids in hopes of reducing the swelling.
Gentle movement, like short walks or ankle circles while elevating, helps the calf muscles pump fluid back into circulation. Prolonged standing or sitting in one position does the opposite and can extend the swelling by days.
When Swelling Points to Something More Serious
The vast majority of ankle swelling after a sunburn is the kind of straightforward inflammatory edema described above, uncomfortable but not dangerous. There are situations, though, where leg swelling after sun exposure warrants prompt medical attention.
Deep vein thrombosis, a blood clot in the leg, is the concern most worth knowing about. Sunburn does not directly cause clots, but dehydration and prolonged immobility, both common on beach vacations or outdoor trips where bad sunburns happen, are established risk factors. If the swelling is mainly in one leg, accompanied by a deep aching or cramping sensation and skin that feels unusually warm in one localized area rather than across the entire sunburned surface, those are red flags worth acting on quickly.
Severe burns that blister over large areas of the lower legs can sometimes cause enough fluid loss and tissue disruption to warrant medical treatment. A sunburn covering a large portion of the body can behave, in fluid-balance terms, more like a thermal burn than a simple skin irritation. If you are feeling dizzy, nauseous, or feverish along with major swelling, those systemic symptoms suggest the burn is more serious than a typical overexposure.
People with pre-existing circulatory issues, including chronic venous insufficiency or lymphedema, may find that sunburn-related swelling is disproportionately severe and slow to resolve. The inflammatory load simply overwhelms a system that was already struggling to manage fluid in the lower extremities. If you have a known circulatory condition and develop significant swelling after a burn, check in with your doctor rather than waiting it out at home.
Medications That Make It Worse
Certain common medications make skin dramatically more sensitive to UV radiation, which means the resulting sunburn and its associated swelling can be far worse than you would expect for the amount of sun exposure involved. This is called drug-induced photosensitivity, and the list of medications that can trigger it is longer than most people expect. Symptoms include the full sunburn spectrum but often amplified: intense redness, swelling, blistering, peeling, and burning that seems disproportionate to time spent outdoors.5PubMed Central. Drug-Induced Photosensitivity-From Light and Chemistry to Biological Reactions and Clinical Symptoms
Some of the most frequently implicated drug classes include certain antibiotics (particularly tetracyclines like doxycycline), nonsteroidal anti-inflammatory drugs (ironically, the same class of drug you might take to treat the swelling), thiazide diuretics used for blood pressure, and some psychiatric medications. If you recently started a new medication and then developed an unexpectedly severe sunburn with significant swelling, the medication is a likely contributor. Your pharmacist or prescriber can tell you whether your specific drug carries photosensitivity risk and what precautions to take.
Why Some People Swell More Than Others
Individual variation in sunburn-related swelling is enormous, and it goes beyond just how fair your skin is. People with a robust mast cell response, meaning their mast cells degranulate more aggressively and release more histamine, will experience more vascular leakage and more edema for the same UV dose. This is partly genetic and partly influenced by whether you have other conditions that prime mast cells, such as allergies.
Body position during and after sun exposure makes a big difference, too. Someone who falls asleep on a beach lounger with their feet dangling below heart level for several hours is setting up the perfect storm: sunburn developing on skin that is already gravitationally disadvantaged for fluid drainage. Alcohol consumption, very common during the kind of outdoor activities that lead to sunburns, contributes both through its dehydrating effects and through its own vasodilatory properties, which compound the vascular leakiness of the burn.
Age plays a role as well. Older adults tend to have less efficient venous return from the legs and more fragile capillaries, which means the same degree of sunburn can produce more edema in a 65-year-old than in a 25-year-old. The swelling may also take longer to resolve in older individuals because their lymphatic drainage is slower.
Sunburn Edema Versus Heat Edema
A closely related condition that often gets confused with sunburn swelling is heat edema, the ankle and foot puffiness that many people experience during hot weather even without any sunburn at all. Heat edema happens because high ambient temperatures cause peripheral blood vessels to dilate as the body tries to shed heat, and the extra blood flow to the skin creates more opportunity for fluid to leak into tissues.
The two can overlap. On a hot sunny day, you may develop both heat-related vasodilation and UV-triggered inflammatory edema simultaneously, making the swelling worse than either condition alone would produce. The distinction matters mainly for management. Pure heat edema resolves quickly with cooling and elevation and does not involve the pain, redness, and tenderness of a sunburn. If your ankles swell on a hot day but your skin looks normal, you are dealing with heat edema rather than sunburn edema, and the treatment is simpler: get somewhere cool and put your feet up.
When both are happening at once, treat the sunburn side of the equation as the priority, since the inflammatory damage is what takes longer to heal. Cooling the skin, managing pain, and staying hydrated address both causes simultaneously.
Do Antihistamines Help?
Given that histamine is a major driver of the early-phase sunburn response, it is reasonable to wonder whether popping an antihistamine like diphenhydramine or cetirizine would prevent or reduce the swelling. Lab studies on skin tissue do show that blocking histamine receptors significantly dampens the prostaglandin surge that follows UV exposure.3PubMed Central. Enhanced prostaglandin synthesis after ultraviolet injury is mediated by endogenous histamine stimulation. A mechanism for irradiation erythema In theory, that should translate to less swelling and less redness.
In practice, the real-world evidence is mixed and generally underwhelming. Sunburn involves multiple overlapping inflammatory pathways, and histamine is mainly active in the first few hours. By the time most people realize they are sunburned and start looking for remedies, the histamine-driven phase is already giving way to prostaglandin-dominated and cytokine-driven inflammation that antihistamines do not touch. An antihistamine taken before or very shortly after sun exposure might blunt the earliest wave of swelling, but it is unlikely to do much once the burn is fully established. For most people, an NSAID like ibuprofen, which targets the prostaglandin pathway that dominates the later and longer-lasting phase of the reaction, is the more effective choice for both pain and swelling.
That said, if you are someone who tends to get intensely itchy sunburns, an antihistamine can still help with the itch component even if it does not dramatically reduce swelling. Combining an antihistamine with an NSAID is generally safe for adults without contraindications, and addresses different arms of the inflammatory response.
Compression Garments and Sunburned Skin
Compression socks or stockings are a standard recommendation for leg swelling in many contexts, from long flights to chronic venous insufficiency. After a sunburn, though, the calculus changes. The damaged skin is exquisitely sensitive to pressure and friction, and pulling on a tight compression garment over an active burn can be painful and can potentially worsen blistering or peeling. If the sunburn is mild and the skin is intact, light compression may help move fluid out of the ankles. If the skin is visibly red, tender, blistered, or peeling, skip the compression and rely on elevation instead. Loose, soft clothing that does not press on the burned area is a better bet until the skin has healed enough to tolerate contact.
Once the acute burn phase has passed and the skin is no longer tender to touch but some residual swelling lingers, graduated compression can be helpful for the last stretch of recovery, particularly for people who need to be on their feet. The key is timing: let the skin heal first, then consider compression as a late-stage tool for stubborn swelling rather than a first-line intervention.