Why Does It Hurt When I Pee and Bleed?

Painful urination combined with blood is most commonly caused by a urinary tract infection (UTI), though kidney stones, sexually transmitted infections, and other conditions can produce the same symptoms. The combination of pain and bleeding signals that something is irritating or damaging the lining of your urinary tract, and identifying the cause matters because treatments differ significantly.

Urinary Tract Infections: The Most Common Cause

A UTI is the single most likely explanation for painful urination with blood. When bacteria enter the urethra and multiply in the bladder, they trigger inflammation of the bladder’s inner lining, a condition called cystitis. That inflamed lining becomes raw and irritated, which is what creates the burning sensation when urine passes over it. In more severe infections, the inflammation erodes the surface enough to cause bleeding, turning your urine pink, red, or cola-colored.

Beyond pain and blood, UTIs typically cause a persistent urge to urinate even when your bladder is nearly empty, along with frequent small-volume trips to the bathroom. Your urine may look cloudy or have a strong smell. These additional symptoms help distinguish a UTI from other causes. A urine test at your doctor’s office can confirm the diagnosis by detecting white blood cells, bacteria, and markers of infection.

With antibiotics, the median recovery time for an uncomplicated UTI is about 7 days, based on data from a British Journal of General Practice study. Without antibiotics, recovery takes closer to 9 days. Most people notice the burning and urgency improving within the first 2 to 3 days of treatment, though completing the full course of antibiotics prevents the infection from returning.

Kidney Stones

Kidney stones are another common cause of blood in the urine, with roughly 85% of patients showing at least some blood on a urine test. These hard mineral deposits form inside the kidneys and cause problems when they move into the narrow tube (ureter) connecting the kidney to the bladder. As a stone scrapes along the urinary tract lining, it physically damages the tissue and causes bleeding.

The pain from kidney stones feels different from a UTI. Instead of burning during urination, stone pain tends to come in intense waves (called renal colic) that hit your flank, lower back, or side and radiate toward your groin, lower abdomen, or genitals. The colicky pain comes from the ureter spasming and the kidney swelling as urine backs up behind the stone. Many people with kidney stones end up in the emergency room because the pain can be excruciating. You may also feel nauseous or vomit. If a stone is small enough, it can pass on its own over days to weeks. Larger stones may need medical intervention to break them apart or remove them.

Sexually Transmitted Infections

Chlamydia and gonorrhea can both cause painful or burning urination along with unusual discharge and bleeding. Gonorrhea in particular can produce thick, cloudy, or bloody discharge from the penis or vagina, combined with a burning sensation when you pee. Chlamydia may cause bleeding between periods in women or rectal bleeding if the infection is in the rectum. Genital herpes can also make urination painful when open sores come into contact with urine, though herpes is less likely to cause blood in the urine itself.

STIs are worth considering if you’ve had unprotected sexual contact, especially because chlamydia and gonorrhea are often silent in their early stages. Many people carry these infections for weeks without obvious symptoms, and by the time painful urination and bleeding appear, the infection may have progressed. Testing is straightforward, typically requiring only a urine sample or a swab, and both chlamydia and gonorrhea are treatable with antibiotics.

Prostatitis in Men

For men specifically, inflammation of the prostate gland (prostatitis) can cause burning during urination and blood in the urine. The prostate sits just below the bladder and surrounds the urethra, so when it becomes swollen or infected, it squeezes the urethra and makes urination painful. You might also feel pain in your pelvis, lower back, or between your scrotum and rectum, along with difficulty starting or maintaining a urine stream. Prostatitis can be caused by a bacterial infection or by chronic inflammation without a clear infectious cause. Bacterial prostatitis accompanied by fever and trouble urinating warrants prompt medical attention.

Interstitial Cystitis

If you’ve had recurring episodes of bladder pain and painful urination without a clear infection, interstitial cystitis (sometimes called painful bladder syndrome) is a possibility. This chronic condition involves ongoing inflammation of the bladder wall that isn’t caused by bacteria, so antibiotics won’t help. Up to 40% of interstitial cystitis patients experience at least one episode of blood in their urine during an 18-month period, based on a review of 148 patients. The condition tends to flare and subside in cycles, with symptoms worsening during certain triggers like stress, certain foods, or hormonal changes. Diagnosis usually happens after infections and other causes have been ruled out.

Less Common but Serious Causes

In adults over 35, blood in the urine (even without pain) can occasionally signal bladder or kidney cancer. The American Urological Association recommends that anyone over 35 with blood in their urine undergo further evaluation, even if the blood is only visible under a microscope. Cancer-related bleeding is more likely to be painless and persistent rather than accompanied by the burning sensation typical of infections. Risk factors include smoking, exposure to certain industrial chemicals, and a history of radiation to the pelvic area. This doesn’t mean blood in your urine is likely cancer, especially if you also have burning and other infection symptoms, but it’s one reason not to ignore recurrent or unexplained bleeding.

What to Expect at the Doctor’s Office

The first step in figuring out the cause is usually a urinalysis. This simple test checks your urine for red blood cells, white blood cells (which indicate infection), bacteria, and other abnormalities. If infection is suspected, a urine culture identifies the specific bacteria involved so your doctor can choose the right antibiotic. For kidney stones, imaging such as an ultrasound or CT scan can locate the stone and measure its size. STI testing requires its own set of tests, so mention any relevant sexual history to make sure the right screenings are ordered.

If the initial evaluation doesn’t explain the bleeding, or if you’re over 35 with persistent blood in your urine, your doctor may refer you for further imaging or a cystoscopy, where a thin camera is inserted into the bladder to look for abnormalities in the lining.

Symptoms That Need Immediate Attention

Most causes of painful urination with blood are treatable and not emergencies, but certain combinations of symptoms signal something more urgent. Seek immediate care if you have a fever along with bloody or painful urination, especially with chills or shaking, as this can indicate the infection has spread to the kidneys or bloodstream. Severe flank or back pain with blood in the urine suggests a kidney stone may be blocking urine flow. An inability to urinate at all, heavy blood with visible clots, lightheadedness, or signs of shock (rapid heartbeat, feeling faint) also warrant emergency evaluation. These situations can involve kidney obstruction, significant blood loss, or systemic infection that requires urgent treatment.