To diagnose the cause of swollen lymph nodes, a healthcare provider may take a detailed medical history and perform a physical examination. Blood tests, imaging studies, and a [lymph node biopsy](#) may also be recommended. A biopsy involves removing a small sample of tissue from the lymph node to be examined under a microscope for signs of cancer.