WebDoctor Encyclopedia

Symptom

Leg Swelling: Causes, Cancer Links and When to Worry

What is leg swelling?

Leg swelling is puffiness or enlargement of the feet, ankles or legs. It is usually caused by fluid building up in the tissues, which doctors call oedema. The skin may look shiny or stretched, socks may leave deep marks, and pressing on the skin with a finger may leave a dent for a few seconds.

Swollen ankles are very common. They often happen after a long day on your feet, a long journey, in hot weather or during pregnancy, and they usually settle overnight or with rest. The NHS notes that swelling in the ankles, feet and legs often goes away on its own (NHS, 2026a).

Swelling can also be a sign of something that needs treatment, such as a blood clot, an infection, or a heart, kidney or liver problem. In people with cancer, or who have had cancer treatment, leg swelling has some specific causes. These include blood clots, which are much more common in people with cancer, lymphoedema after surgery or radiotherapy, and tumours in the pelvis or tummy that press on veins or lymph vessels.

One leg or both legs?

The pattern of swelling helps doctors work out the cause.

Both legs One leg
Common causes Standing or sitting for long periods, heat, pregnancy, medicines, being overweight, heart, kidney or liver problems Injury, infection (cellulitis), a blood clot (DVT), a cyst behind the knee, lymphoedema
Cancer-related causes Low protein levels, fluid in the tummy, pressure on the large vein in the tummy A blood clot, lymphoedema after treatment, a tumour pressing on veins or lymph vessels in the pelvis or groin
How urgent Usually not urgent if it settles with rest, unless you are breathless Get an urgent GP appointment or call NHS 111 if you do not know the cause

The NHS advises getting an urgent GP appointment or help from NHS 111 if you have swelling in one ankle, foot or leg and you do not know what is causing it, or if swelling is severe, painful or starts suddenly (NHS, 2026a).

Common non-cancer causes

The NHS gives these as everyday causes of fluid build-up in the lower legs (NHS, 2026a):

  • staying in one position, standing or seated, for a long time
  • eating a lot of salty food
  • being overweight
  • pregnancy
  • some medicines, including some blood pressure tablets, the contraceptive pill, hormone therapy, antidepressants and steroids
  • varicose veins
  • thyroid problems

Other causes include:

  • Injury: a sprain or strain
  • Insect bites and stings
  • Cellulitis: a skin infection that causes a red, hot, swollen and painful area, sometimes with a fever
  • Deep vein thrombosis (DVT): a blood clot in a deep vein of the leg
  • Heart failure: the heart does not pump strongly enough, so fluid builds up in the legs; often with breathlessness
  • Kidney disease: fluid and protein are not handled properly
  • Liver disease: low protein levels in the blood allow fluid to leak into the tissues
  • Venous insufficiency: damaged valves in the leg veins, often with varicose veins, skin changes and leg ulcers
  • A Baker’s cyst: a fluid-filled swelling behind the knee that can burst and cause calf swelling

Cancers that can cause leg swelling

Blood clots and cancer

People with cancer have a much higher risk of blood clots, called venous thromboembolism. A review of the evidence explains that the risk depends on the type and stage of cancer, the treatments used, and factors related to the person. People with cancer who develop a clot tend to do less well, partly because clots are more common with more aggressive cancers (Timp et al., 2013).

A clot in the leg typically causes throbbing pain in one leg, usually in the calf or thigh, with swelling, red or darkened skin and swollen veins. The NHS lists having cancer as one of the factors that make a DVT more likely (NHS, 2026c). Sometimes an unexplained clot is the first sign of a cancer that has not yet been found.

Lymphoedema

Lymph vessels carry fluid away from the tissues to the lymph nodes. If lymph nodes in the groin or pelvis are removed or damaged by radiotherapy, or blocked by a tumour, fluid can build up and cause lymphoedema. The NHS explains that lymphoedema often affects people who have had cancers involving the lymph system or treatment to the lymph nodes, including vulval, penile and head and neck cancers, and melanoma treated in the groin lymph nodes (NHS, 2026b).

A systematic review of cancers other than breast cancer found that about 1 in 6 survivors developed lymphoedema overall. Rates were about 28% for leg lymphoedema after melanoma, 20% after gynaecological cancers and 30% after sarcoma. The risk was higher after pelvic lymph node removal and radiotherapy (Cormier et al., 2010).

Cancers linked to leg swelling

Cancer How it can cause leg swelling
Pancreatic ductal adenocarcinoma One of the cancers most strongly linked to blood clots
Epithelial ovarian cancer, cervical cancer and endometrial cancer Pelvic tumours can press on veins or lymph vessels; lymphoedema after surgery or radiotherapy; blood clots
Vulvar cancer and penile squamous cell carcinoma Lymphoedema after removal of groin lymph nodes
Melanoma skin cancer Lymphoedema after groin node surgery, or spread to the groin nodes
Prostate adenocarcinoma and urothelial carcinoma of the bladder Enlarged pelvic lymph nodes; lymphoedema after pelvic surgery or radiotherapy
Clear cell renal cell carcinoma Kidney cancer can grow into the large vein in the tummy, causing swelling of both legs
Lymphomas, such as follicular lymphoma and diffuse large B-cell lymphoma Enlarged lymph nodes in the groin or pelvis can block lymph and blood flow
Soft tissue sarcoma and liposarcoma A growing lump in the thigh or a large tumour in the back of the tummy
Kaposi sarcoma Purple patches on the legs and feet, often with swelling

Red flags and when to see a doctor

Situation What to do
Mild swelling of both ankles after a long day that goes down overnight Self-care: raise your legs, keep active, avoid standing still for long
Swelling of both legs that has not improved after a few days of self-care, or is getting worse See a GP (NHS, 2026a)
Swelling in one leg with no clear cause Get an urgent GP appointment or call NHS 111
A painful, red, hot, swollen area, especially with a fever Get an urgent GP appointment or call NHS 111; it may be cellulitis
Throbbing pain and swelling in one calf or thigh Get an urgent GP appointment or call NHS 111; it may be a DVT
Leg swelling with breathlessness, chest pain or coughing up blood Go to A&E or call 999; it may be a clot in the lung (NHS, 2026c)
New leg swelling during or after cancer treatment Contact your cancer team the same day
Swelling with a lump in the groin, or swelling of the tummy See a GP soon

Red flags for a cancer cause

Signs of a clot in the lung

A DVT can break off and travel to the lungs, causing a pulmonary embolism. Call 999 if you have leg swelling or pain together with shortness of breath or chest pain (NHS, 2026c).

Tests doctors use

The doctor will look at both legs, compare their size, and check the skin, pulses and lymph nodes in the groin. They will ask about medicines, recent travel or surgery, and any history of cancer, heart, kidney or liver disease.

Test What it involves What it shows
D-dimer blood test A blood test for a protein released when clots break down A normal result makes a clot unlikely; a raised result needs a scan
Doppler ultrasound A scan of the leg veins Whether there is a DVT
Blood tests Kidney and liver function, protein levels, thyroid and a full blood count Kidney, liver and thyroid problems, low protein, anaemia
Urine test A dipstick test Protein leaking from the kidneys
Heart tests An ECG, a blood test called BNP, and a heart scan Heart failure
CT scan Scans of the tummy and pelvis Tumours or enlarged lymph nodes pressing on veins or lymph vessels
Limb measurements Measuring the leg at set points, or using special equipment How much swelling there is, to diagnose and monitor lymphoedema
Lymphoscintigraphy A small injection of a tracer and a scan How well the lymph vessels are draining, in uncertain cases

Looking for a hidden cancer after a clot

If you have a clot with no obvious cause, your doctor will usually ask about symptoms, examine you, and arrange basic blood tests and a chest X-ray. Further scans may be suggested in some cases, especially if you have other symptoms. Not everyone with an unexplained clot needs extensive testing.

Treatment depends on the cause

Non-cancer causes

  • Simple swelling: raising the legs, walking regularly, avoiding standing still for long periods, and cutting down on salt
  • Medicines: your GP may change a medicine that is causing swelling
  • Cellulitis: antibiotics
  • Heart, kidney or liver problems: treating the underlying condition, sometimes with water tablets
  • Venous insufficiency: compression stockings and treatment of varicose veins

When cancer is the cause

  • Blood clots: anticoagulant medicines to thin the blood. Options include heparin injections and tablets. An ASCO guideline update added apixaban as a treatment option, after trials showed it reduced repeat clots with a low risk of major bleeding (Key et al., 2023). The choice depends on the cancer, bleeding risk and other medicines.
  • Preventing clots: some people having cancer surgery are given blood thinners for several weeks afterwards; the same guideline added apixaban and rivaroxaban as options for this (Key et al., 2023)
  • Lymphoedema: care from a specialist lymphoedema service, including skin care, exercise, special massage called manual lymphatic drainage, and compression bandages or garments
  • Tumours pressing on veins or lymph vessels: treating the cancer with surgery, chemotherapy or radiotherapy; palliative radiotherapy can shrink a tumour to relieve pressure
  • Blocked veins: sometimes a small metal tube called a stent is placed in the vein

Living with leg swelling

Everyday tips

  • raise your legs above the level of your heart when resting, for example on cushions
  • walk regularly and do ankle exercises when sitting
  • avoid sitting with your legs crossed or standing still for long periods
  • wear comfortable, well-fitting shoes and socks
  • cut down on salty foods
  • if you are prescribed compression stockings, wear them as advised and replace them regularly

Skin care for lymphoedema

The skin over a swollen limb is more prone to infection. Moisturise daily, keep skin clean and dry, especially between the toes, treat cuts and insect bites promptly, wear gloves for gardening, and avoid sunburn. Cellulitis can make lymphoedema worse, so see a doctor quickly if your leg becomes red, hot and painful.

Long journeys

If you have cancer or have had a clot, ask your doctor for advice before long journeys. Walk around regularly, drink plenty of water, and do leg exercises. Some people are advised to wear flight stockings or take a blood thinner.

Frequently asked questions

Is leg swelling a sign of cancer?

Usually not. Most leg swelling is caused by standing, heat, medicines, pregnancy or problems with the veins, heart or kidneys. Swelling in one leg, swelling that keeps getting worse, or swelling with a blood clot and no obvious cause should be checked.

Can chemotherapy cause leg swelling?

Yes. Some chemotherapy drugs and steroids can cause fluid retention. Chemotherapy also raises the risk of blood clots. Tell your cancer team about any new swelling.

When can lymphoedema start after cancer treatment?

It can start within weeks of surgery or radiotherapy, but it can also develop months or years later. If you have had lymph nodes removed from the groin or pelvis, tell your team if you notice heaviness or swelling.

Can lymphoedema be cured?

It cannot usually be cured, but it can be well controlled with skin care, exercise, compression and specialist treatment. Starting treatment early gives the best results.

Should I use water tablets for swollen ankles?

Only if your doctor prescribes them. Water tablets help when swelling is caused by heart, kidney or liver problems, but they do not help lymphoedema or simple swelling from standing and can cause side effects.

Why do my legs swell more in the evening?

Gravity pulls fluid down into the legs during the day, especially if you sit or stand for long periods. This often settles overnight when you lie down. Swelling that is still there in the morning is more likely to need checking.

Sources & References

  1. Cormier, J.N., Askew, R.L., Mungovan, K.S., Xing, Y., Ross, M.I. and Armer, J.M. (2010) ‘Lymphedema beyond breast cancer: a systematic review and meta-analysis of cancer-related secondary lymphedema’, Cancer, 116(22), pp. 5138-5149. Available at: https://pubmed.ncbi.nlm.nih.gov/20665892/
  2. Key, N.S., Khorana, A.A., Kuderer, N.M., Bohlke, K., Lee, A.Y.Y., Arcelus, J.I., Wong, S.L., Balaban, E.P., Flowers, C.R., Gates, L.E., Kakkar, A.K., Tempero, M.A., Gupta, S., Lyman, G.H. and Falanga, A. (2023) ‘Venous thromboembolism prophylaxis and treatment in patients with cancer: ASCO guideline update’, Journal of Clinical Oncology, 41(16), pp. 3063-3071. Available at: https://pubmed.ncbi.nlm.nih.gov/37075273/
  3. NHS (2026a) Swollen ankles, feet and legs (oedema). Available at: https://www.nhs.uk/conditions/oedema/ (Accessed: October 2026).
  4. NHS (2026b) Lymphoedema. Available at: https://www.nhs.uk/conditions/lymphoedema/ (Accessed: October 2026).
  5. NHS (2026c) DVT (deep vein thrombosis). Available at: https://www.nhs.uk/conditions/deep-vein-thrombosis-dvt/ (Accessed: October 2026).
  6. Timp, J.F., Braekkan, S.K., Versteeg, H.H. and Cannegieter, S.C. (2013) ‘Epidemiology of cancer-associated venous thrombosis’, Blood, 122(10), pp. 1712-1723. Available at: https://pubmed.ncbi.nlm.nih.gov/23908465/