Swollen lymph nodes in the groin area, a condition doctors call inguinal lymphadenopathy, usually signal that your body is fighting an infection somewhere in the genital region, lower abdomen, or legs. Sexually transmitted infections are among the most common culprits, but the list of possible causes runs from minor skin infections to, in rarer cases, cancer. The swelling itself is not a disease but rather your immune system’s response to something happening nearby, and figuring out what that something is determines how serious the situation actually is.
What Inguinal Lymph Nodes Actually Do
You have clusters of lymph nodes on both sides of your groin, tucked along the crease where your thigh meets your pelvis. These nodes filter lymph fluid draining from your genitals, lower abdominal wall, buttocks, legs, and feet. When bacteria, viruses, or abnormal cells travel through that fluid, the lymph nodes trap them and mount an immune response. That response involves a rapid increase in immune cells inside the node, which physically stretches it and makes it feel swollen, firm, or tender to the touch.
Because groin lymph nodes serve such a large drainage territory, they can swell for reasons that have nothing to do with your penis specifically. A cut on your foot that gets infected, an ingrown hair on your inner thigh, or even a fungal skin infection on your leg can all cause detectable swelling in the same nodes. That said, when the swelling is concentrated on one side and appears alongside genital symptoms like sores, discharge, or pain, a sexually transmitted infection moves to the top of the list.
Sexually Transmitted Infections That Target the Groin Nodes
Several STIs are well known for causing inguinal lymph node swelling, and the pattern of that swelling sometimes points toward a specific diagnosis before any lab work comes back.
Genital Herpes
Herpes simplex virus, both type 1 and type 2, is one of the most common STIs worldwide and a frequent reason for swollen groin nodes. During a first outbreak, the immune response tends to be more intense than during recurrences, so lymph node swelling is most noticeable in the initial episode. You may feel tender, swollen bumps in the groin alongside painful blisters or ulcers on the penis, and flu-like symptoms such as body aches and mild fever sometimes come along for the ride. Herpes is a lifelong infection involving periodic reactivation with variable viral shedding, which means the lymph nodes can swell again during later flare-ups, though usually less dramatically.1Semantic Scholar. Genital Herpes: Rapid Evidence Review
Syphilis
Primary syphilis classically produces a single painless ulcer called a chancre at the site of infection, along with swollen inguinal nodes. Most medical references describe syphilitic lymphadenopathy as painless, but real-world cases tell a more complicated story. A review of case data found that painful inguinal lymphadenopathy appeared in about three-quarters of primary syphilis cases, which is high enough that doctors sometimes mistake the swelling for something else entirely, including an inguinal hernia.2PubMed Central. Primary syphilis presenting as a painful unilateral inguinal lymphadenopathy, without cutaneous manifestations, in a 71-year-old Japanese man: A case report – Section: Discussion In secondary syphilis, the rate of painful nodes drops substantially. The key takeaway is that you cannot rule out syphilis just because the lymph node swelling hurts.
Lymphogranuloma Venereum
Lymphogranuloma venereum, or LGV, is caused by specific aggressive strains of Chlamydia trachomatis. Unlike the more common forms of chlamydia that tend to cause urethral discharge, LGV has a particular affinity for lymph tissue. The hallmark presentation involves painfully swollen groin nodes that can enlarge dramatically, sometimes forming large abscesses called buboes that may rupture and drain pus. The swelling appears on one side of the groin in roughly two-thirds of cases. In contemporary populations, particularly among men who have sex with men, rectal infection causing proctitis has become the more commonly diagnosed presentation, but the classic bubo pattern still occurs.3PubMed Central. Lymphogranuloma Venereum (LGV) Proctocolitis Presenting As Small Bowel Obstruction in an HIV-Negative Man Who Has Sex With Men (MSM) on Pre-exposure Prophylaxis (PrEP): A Diagnostic Dilemma LGV is treatable with a longer course of antibiotics than standard chlamydia, so getting the right diagnosis matters.
Chancroid
Chancroid is caused by the bacterium Haemophilus ducreyi and produces painful genital ulcers along with tender, swollen inguinal lymph nodes.4PubMed Central. Infections caused by Haemophilus ducreyi: one organism, two stories The combination of painful ulcers and painful lymph nodes helps distinguish chancroid from syphilis, where the ulcer is classically painless. Chancroid has become rare in high-income countries but remains a concern in parts of sub-Saharan Africa, Southeast Asia, and the Caribbean. The infection also facilitates the transmission of HIV, which makes prompt diagnosis and treatment especially important in regions where both infections circulate.5PubMed Central. Molecular pathogenesis of Haemophilus ducreyi infection in human volunteers
Non-Sexual Infections and Skin Conditions
STIs get the most attention when people notice groin lymph node swelling, but plenty of non-sexual infections can do the same thing. Bacterial skin infections like cellulitis or abscesses on the penis, scrotum, inner thigh, or perineum frequently cause reactive lymph node enlargement. An infected hair follicle, a boil, or even an irritated skin tag in the genital area can be enough. Fungal infections in the groin crease, commonly known as jock itch, can occasionally lead to mild node enlargement if the skin breaks down or becomes secondarily infected with bacteria.
Hidradenitis suppurativa, a chronic inflammatory skin condition that affects areas with apocrine sweat glands including the groin and inner thighs, can also involve inguinal lymph nodes. Research suggests that lymph node involvement in hidradenitis suppurativa tends to appear in late-stage disease and may reflect secondary bacterial infection of the skin lesions rather than the underlying inflammatory process itself.6PubMed. Lymph nodes in hidradenitis suppurativa – Section: CONCLUSION If you have recurrent painful lumps, draining sinuses, or scarring in the groin or underarms, the swollen lymph nodes you feel could be part of that picture.
Infections further down the leg also drain to the same nodes. A wound on your foot, an infected insect bite on your calf, or an ingrown toenail that turns septic can all send bacteria upstream to the inguinal lymph nodes. In these cases, you may notice that the swelling is accompanied by redness or pain at a site well away from your genitals. People sometimes panic about a groin lump and overlook the inflamed scratch on their shin that is actually driving the whole thing.
When Swollen Groin Nodes Could Signal Cancer
Cancer is a less common but more serious cause of inguinal lymphadenopathy, and it tends to present differently from infection-driven swelling. Cancer-related nodes are often hard, fixed in place rather than mobile under the skin, and painless. They tend to grow gradually over weeks to months rather than appearing suddenly with tenderness and redness.
Penile cancer, though rare, spreads first to the inguinal lymph nodes before reaching anywhere else in the body. The groin nodes are what oncologists call the “first echelon” of spread for penile tumors, meaning they are the earliest stop on the metastatic route, and involvement of these nodes is the single most important factor in determining prognosis.7PubMed Central. Management of clinically node-negative groin in patients with penile cancer In one case series of unusual inguinal swellings, a patient who initially presented with what looked like a straightforward groin lump turned out to have penile carcinoma with inguinal metastasis after a more thorough physical exam revealed a suspicious lesion on the glans penis.8PubMed Central. Differential diagnoses of inguinal swellings: a case series of atypical diagnoses – Section: Patient 2 The lesson there is that groin swelling sometimes demands a full genital examination even when the patient does not think anything else is wrong.
Other cancers that can show up as inguinal lymphadenopathy include testicular cancer, melanoma of the lower body or legs, and lymphomas. Lymphoma in particular deserves mention because it arises in the lymph nodes themselves rather than spreading to them from somewhere else. In some cases, pelvic or inguinal lymphoma presents as a mass effect in the lower pelvis that compresses nearby structures, which may not feel like a typical “swollen node” at all.9Clinical Nuclear Medicine. Massive Pelvic Lymphadenopathy Due to Recurrent Non-Hodgkin Lymphoma Incidentally Revealed on a 99mTc-MDP Bone Scintigraphy Imaging studies such as PET/CT scans are increasingly used to evaluate whether enlarged inguinal nodes harbor cancer, and they play a growing role in staging cancers like penile squamous cell carcinoma.10PubMed. Inguinal/pelvic lymph node involvement in penile squamous cell carcinoma by (18)F-fluorodeoxyglucose PET/CT – Section: OBJECTIVE
Vaccine-Related Lymph Node Swelling
If your groin nodes swelled up within a week or two of receiving a vaccine in the thigh or lower body, the vaccine itself may be the cause. This phenomenon received widespread attention during the COVID-19 vaccination campaigns, when RNA-based vaccines in particular were associated with lymphadenopathy as a recognized side effect. The swelling was reported both as a clinical finding that patients noticed themselves and as an incidental discovery on imaging studies done for other reasons, especially in cancer patients undergoing routine screening.11PubMed Central. COVID-19 vaccine-associated lymphadenopathy: a review Vaccine-related lymphadenopathy is generally harmless and resolves on its own within a few weeks. It reflects the immune system responding to the vaccine, not a sign of infection or disease. The swelling typically appears on the same side as the injection.
While the COVID-19 vaccines brought this to public attention, other vaccinations can produce the same reaction. The key distinction from more worrisome causes is the clear timing: the swelling starts within days of vaccination and gradually goes down. If it persists beyond four to six weeks or keeps growing, a doctor should take another look.
How to Tell What Kind of Swelling You Are Dealing With
The characteristics of the swollen node itself, along with any accompanying symptoms, offer useful clues even before you see a doctor.
- Tender and warm: Pain and warmth point toward an active infection. The node is doing its job fighting something. This is the most common scenario and is usually the least alarming, though the underlying infection still needs treatment.
- Rapid onset with ulcers or discharge: A node that swells over days alongside genital sores, penile discharge, or painful urination strongly suggests an STI.
- Hard, painless, and fixed: A node that feels like a stone under the skin, does not move freely when you push it, and does not hurt is more concerning for cancer. This combination warrants prompt medical evaluation.
- Rubbery and mobile: Soft or rubbery nodes that slide under your fingers are more typical of reactive swelling from a mild infection or inflammation and less suggestive of malignancy.
- Bilateral and generalized: If nodes on both sides of your groin are swollen and you also notice enlarged nodes in your neck or armpits, the cause is more likely systemic, such as a viral illness, an autoimmune condition, or lymphoma, rather than a local genital infection.
None of these patterns are absolute. Syphilis can cause painless or painful nodes. Lymphoma nodes can occasionally be tender. But these general rules hold often enough to guide initial thinking.
When You Should See a Doctor
A single slightly swollen groin node that appears for a day or two and resolves on its own is rarely cause for concern. Your body fights off minor infections constantly, and brief lymph node reactions are part of that process. The situations that do call for a visit include:
- Swelling lasting longer than two weeks: Persistent enlargement, even if painless, deserves investigation.
- Genital symptoms present: Any combination of swollen nodes with sores, blisters, discharge, rash, or pain during urination should prompt STI testing.
- Rapid growth or fixation: A node that is growing noticeably over days to weeks, or that feels attached to surrounding tissue, needs imaging.
- Systemic symptoms: Fever, unintended weight loss, drenching night sweats, or fatigue alongside swollen nodes can signal infections like HIV or malignancies like lymphoma.
- Skin changes over the node: Redness, warmth, or a draining sinus tract over the node itself may indicate an abscess forming, which sometimes needs drainage.
A doctor will typically start with a physical exam covering the genitals, perineum, and lower extremities to look for a source of infection or an abnormal lesion. Blood work and STI panels are usually next. If the cause remains unclear or cancer is suspected, imaging with ultrasound, CT, or PET/CT may follow, and in some cases a biopsy of the node provides the definitive answer.
Common Misunderstandings About Groin Lumps
One frequent source of confusion is mistaking a swollen lymph node for an inguinal hernia, or vice versa. Both can present as a lump in the groin, and even clinicians sometimes get the two mixed up early on. A hernia typically becomes more prominent when you cough or strain, may be reducible (you can push it back in), and often has a soft, doughy feel. A lymph node tends to be more discrete, rounder, and does not change size with straining. That said, syphilis-related lymphadenopathy has been clinically misdiagnosed as an inguinal hernia, leading to delays in treatment.2PubMed Central. Primary syphilis presenting as a painful unilateral inguinal lymphadenopathy, without cutaneous manifestations, in a 71-year-old Japanese man: A case report – Section: Discussion
Another misconception is that swollen groin nodes automatically mean you have an STI. While STIs are a common cause, the drainage territory of these nodes is enormous. A bacterial infection from shaving your bikini line, an inflamed cyst on your inner thigh, or even vigorous exercise causing minor tissue inflammation can all trigger temporary node enlargement. Jumping straight to an STI diagnosis without considering the full picture can cause unnecessary anxiety, though getting tested is still a reasonable step if you have any doubt.
People also tend to assume that if a swollen node is painful, it must be more dangerous than one that is painless. In reality, the opposite is often closer to the truth for the most serious diagnoses. Painful nodes usually mean your immune system is actively responding to an acute infection, which is generally treatable. Painless, hard, growing nodes are the ones that raise red flags for malignancy. Pain, counterintuitively, can be somewhat reassuring in this context.
Inguinal Lymphadenopathy in People with HIV
Persistent generalized lymphadenopathy is one of the hallmarks of HIV infection and can appear early in the course of the disease, sometimes before any other symptoms develop. In someone with HIV, swollen groin nodes may be part of this generalized pattern rather than a response to a localized infection. However, because HIV also suppresses the immune system over time, people living with HIV are at higher risk for opportunistic infections and certain cancers, including Kaposi sarcoma and lymphoma, that can independently cause inguinal lymphadenopathy. Sorting out the cause in this population often requires a broader diagnostic workup.
The intersection of HIV and other STIs also matters practically. Several of the infections discussed earlier, including chancroid, syphilis, and herpes, facilitate HIV transmission by creating ulcers and inflammation that give the virus easier access to the bloodstream.5PubMed Central. Molecular pathogenesis of Haemophilus ducreyi infection in human volunteers If you are diagnosed with one of these STIs and have not been tested for HIV recently, your doctor will likely recommend testing as part of the evaluation.