In this article
Infections are among the most important causes: from flu that clears within a few days to chronic infections such as tuberculosis, which can cause sweating for weeks. Other causes include hormonal conditions, blood disorders, sleep disorders, acid reflux and inflammatory diseases.
This article explains which infections and other conditions may be behind night sweats, which signs help distinguish between them, and which tests and examinations may be requested. It is not a substitute for medical assessment: the doctor chooses the tests and interprets the results in light of your medical history and examination.
Why infections cause sweating
During an infection, the immune system releases substances that raise the brain's temperature set point. The body produces and retains heat, causing a fever, often with chills. When the fever comes down, either naturally or after taking fever-reducing medicine, the body needs to release the accumulated heat. Sweating is the most effective way to do this. Because fever tends to fluctuate throughout the day, sweating often occurs at night or in the early hours.
A systematic review published in the Journal of the American Board of Family Medicine in 2012 stressed that night sweats are a non-specific symptom. Many people who report them in primary care do not have a serious illness, and there is little evidence for several of the reported associations. The symptoms accompanying the sweating therefore guide the investigation more than the sweating itself.
| How long the sweating lasts | Most likely infectious causes |
|---|---|
| A few days, with fever | Flu, other viral infections, urinary or respiratory infections |
| One to three weeks | Infections that take time to clear, glandular fever, other viral infections |
| More than three weeks | Tuberculosis, HIV, endocarditis, abscesses, other chronic infections |
Tuberculosis
Tuberculosis is the classic infectious cause of prolonged night sweats. It is caused by an airborne bacterium and mainly affects the lungs, although it can affect the lymph nodes, bones, kidneys and other organs. It remains present in Portugal. Risk is higher in people who have been in contact with someone with the disease, lived in countries with many cases, have HIV or diabetes, drink excessive amounts of alcohol, or take medicines that suppress the immune system.
Typical signs of pulmonary tuberculosis are a cough lasting more than two to three weeks, sometimes with phlegm or blood, a low-grade fever towards the end of the day, night sweats, tiredness and weight loss. General blood tests cannot diagnose it: a chest X-ray and a sputum test are needed. Blood tests that assess the immune response to tuberculosis (IGRA) help identify infection, but cannot distinguish latent infection from active disease on their own.
| Sign | Why it matters |
|---|---|
| Cough lasting more than 2 to 3 weeks | Classic sign of pulmonary tuberculosis |
| Blood in the sputum | Requires prompt medical assessment |
| Unexplained weight loss | Suggests chronic disease |
| Contact with a case | Greatly increases the likelihood |
| Reduced immunity | Less typical and more serious forms |
HIV and other chronic infections
HIV infection can cause night sweats at different stages: during the initial infection, with flu-like symptoms, and at more advanced stages, when opportunistic infections arise. As many people do not know they have the infection, an HIV test is often recommended when investigating persistent night sweats, particularly when there are other symptoms or risk factors. The test is voluntary and confidential.
Other chronic infections to consider include endocarditis (an infection of the heart valves, more likely in people with valve disease or prosthetic valves, or who inject drugs), deep abscesses, bone infections, brucellosis (associated with consuming unpasteurised cheese or milk and contact with animals) and, in people who have travelled to tropical areas, malaria. Information about travel, contact with animals and diet is very useful to the doctor.
| Infection | Clues that may help |
|---|---|
| HIV | Risk factors, swollen lymph nodes, repeated infections |
| Endocarditis | Valve disease, persistent fever, new heart murmur |
| Deep abscess | Recent surgery, localised pain, fever |
| Brucellosis | Unpasteurised cheese or milk, contact with livestock |
| Malaria | Recent travel to an endemic area: urgent assessment |
Blood disorders
Lymphomas, cancers of the lymphatic system, can cause what are known as “B symptoms”: fever with no apparent cause, severe night sweats and significant weight loss. They may also cause enlarged, painless lymph nodes in the neck, armpits or groin, widespread itching and tiredness. Some leukaemias and other bone marrow disorders can also cause sweating.
These conditions are rare causes of night sweats on their own, but should not be overlooked when the sweating occurs alongside these signs. A full blood count is the initial test, but a normal result does not rule out lymphoma: diagnosis often requires imaging and a lymph node biopsy.
Hormonal and metabolic causes
Hyperthyroidism speeds up the metabolism and increases heat production, causing heat intolerance, sweating, palpitations, tremor, anxiety and weight loss. The 2019 National Institute for Health and Care Excellence (NICE) guideline on thyroid disease recommends thyroid function tests when there is clinical suspicion. Nocturnal hypoglycaemia, particularly in people with diabetes treated with insulin or certain tablets, causes sweating, nightmares, restlessness and a headache on waking.
More rarely, hormone-producing tumours, such as phaeochromocytoma (which releases adrenaline) or neuroendocrine tumours, cause episodes of sweating, palpitations, flushing or high blood pressure. In men, falling testosterone levels, for example during treatment for prostate cancer, can cause hot flushes similar to those experienced during the menopause.
| Cause | Accompanying signs | Possible initial test |
|---|---|---|
| Hyperthyroidism | Palpitations, tremor, weight loss | TSH, free T4 |
| Nocturnal hypoglycaemia | Nightmares, headache on waking | Blood glucose tests, medication review |
| Phaeochromocytoma | Episodes of palpitations, headache, high blood pressure | Metanephrines (requested by a specialist) |
| Low testosterone | Hot flushes, reduced libido | Testosterone (morning sample) |
Sleep disorders, acid reflux and other causes
Obstructive sleep apnoea, in which breathing repeatedly stops during the night, is associated with night sweats, loud snoring, pauses in breathing noticed by a bed partner, daytime sleepiness and morning headaches. Night-time gastro-oesophageal reflux has also been associated with sweating, although the evidence is limited. Anxiety and nocturnal panic attacks can wake someone with sweating, palpitations and shortness of breath.
Some inflammatory diseases, such as giant cell arteritis (which occurs mainly after the age of 50, with a new headache, scalp tenderness and pain when chewing), can cause fever and sweating. Finally, withdrawal from alcohol or other substances and certain medicines are common and often overlooked causes.
Tests that may be requested
The 2012 review concluded that there is insufficient research to define a standard investigation for night sweats. In practice, the doctor begins with the history and physical examination, looking for swollen lymph nodes, heart murmurs, signs of infection or thyroid abnormalities, and selects tests according to the findings. First-line tests are usually simple.
Reference ranges vary between laboratories, methods, age and sex: always use the ranges on your test report. A raised inflammatory marker shows that something is happening, but not what it is. The doctor who requested the tests should interpret them together with your medical history.
| Test or examination | What it may help identify |
|---|---|
| Full blood count | Infection, anaemia, changes suggestive of a blood disorder |
| C-reactive protein, erythrocyte sedimentation rate | Inflammation or infection |
| TSH | Hyperthyroidism |
| Glucose, glycated haemoglobin | Diabetes, context of hypoglycaemia |
| HIV test | HIV infection |
| IGRA, chest X-ray, sputum test | Tuberculosis |
| Blood cultures | Bloodstream infection, endocarditis |
| LDH | Raised in several conditions, including lymphomas; non-specific |
What happens when no cause is found
In many people with night sweats, the initial investigation finds no cause. This is reassuring, particularly when there is no fever, weight loss or other warning signs. The 2012 review also considered prognosis. It noted that few studies are available, but that in primary care this symptom is often reported by people without serious illness.
In these cases, the usual approach is to review the sleep environment, medicines and alcohol consumption, and continue monitoring. If new symptoms such as fever, swollen lymph nodes, cough or weight loss develop, assessment should resume. Keeping a record of the episodes and any other symptoms helps the doctor decide what to do.
When to seek urgent help
Seek same-day assessment if you have a high fever with severe chills, shortness of breath, chest pain, cough up blood, develop a fever after travelling to an area with malaria, or feel very unwell. In someone with a weakened immune system, for example during chemotherapy, fever with sweating requires immediate contact with their care team.
Call 112 if there is confusion, extreme drowsiness, severe difficulty breathing, cold and mottled skin or fainting, as these signs may indicate a serious infection. For advice in less clear-cut situations, call SNS 24 on 808 24 24 24.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Are night sweats a sign of tuberculosis?
They can be, particularly with a persistent cough, fever and weight loss, but most people have other causes.
Should I have an HIV test?
It may be recommended when the sweating persists without explanation or there are risk factors. Speak to your doctor.
Does a normal full blood count rule out lymphoma?
No. If you have swollen lymph nodes, fever or weight loss, the doctor may request other tests.
Does sleep apnoea cause sweating?
It is associated with night sweats. Tell your doctor if you snore loudly or feel sleepy during the day.
Does raised C-reactive protein mean an infection?
It indicates inflammation, which can have many causes. The doctor should interpret the result.
My tests were all normal. What now?
This is reassuring if there are no warning signs. Continue monitoring and return to your doctor if new symptoms develop.
I have returned from a trip and have fever and sweating. What should I do?
Seek same-day assessment and tell the doctor about your trip, particularly if you visited an area with malaria.
Did you enjoy this article?
Scientific references2
- Mold JW, Holtzclaw BJ, McCarthy L. Night sweats: a systematic review of the literature. J Am Board Fam Med. 2012;25(6):878-893.
- National Institute for Health and Care Excellence. Thyroid disease: assessment and management. NICE guideline NG145. NICE. 2019.





