Lymph nodes may swell due to an infection, inflammation, or cancer. When the body is fighting an infection, such as a cold or strep throat, lymph nodes can become enlarged as they work to filter out the offending agents. However, swollen lymph nodes can also be a sign of more serious conditions, including cancer.