The penis root to the anus swelling pain may be bad habits, but also may be prostatitis, trauma, etc., should be timely consultation to find out the cause of the disease. 1. bad habits: it may be related to the usual long time bad habits, such as sitting for a long time to hold urine or frequent masturbation, often contact with obscene books and movies, can lead to the root of the penis to the anus in the case of swelling. 2. Prostatitis: It is possible for prostatitis to cause swelling at the root of the penis, and prostatitis is divided into bacterial prostatitis and aseptic prostatitis. The swelling of the prostate gland presses on the pelvic floor nerves that run around the prostate gland. These pelvic floor nerves cover the area of the penis, scrotum, between the scrotum and anus, as well as the area of the abdomen above the pubic bone. 3. Trauma: If there is trauma, it is considered to be due to the local edema caused by trauma or secretions that cause swelling and pain from the root of the penis to the anus. In addition, there are many other causes of penile root to anus swelling and pain. To summarize, if you find the root of the penis to the anus pain is recommended to consult a doctor in time, by the doctor to clarify the cause of the disease, to give targeted treatment.