A fever that goes on for weeks without an answer usually has one of three kinds of cause.
Pyrexia of unknown origin is a fever over 38.3°C, recorded several times and lasting 3 weeks or more, with no cause found despite 1 week of investigation as an inpatient. Causes are infection (about 30%), such as TB and occult abscesses; malignancy (about 20%), such as lymphoma and renal cell carcinoma; and non-infectious inflammatory disease, such as SLE and temporal arteritis. Investigate with an FBC, CRP, HIV test, blood cultures, urinalysis and chest X-ray, then CT or PET. Empirical antibiotics aren't routinely given. Up to half remain undiagnosed, but most do well.