Swollen lymph nodes. Your lymph nodes can swell up when infection invades your body, which may be caused by viruses, bacteria or parasites. Other conditions that can cause swelling of the lymph nodes leading to pain under right or left armpit include cancer and autoimmune disorders like rheumatoid arthritis.