Amitriptyline Blue Urine vs. UTI: How to Tell Them Apart

Quick Answer
Both amitriptyline and a Pseudomonas urinary tract infection can turn urine blue or blue-green, but they present very differently. Amitriptyline-related blue urine is a benign medication side effect—it appears without urinary symptoms, tracks your doses, and clears within 2 to 3 days of stopping the drug. A Pseudomonas UTI is an infection—it comes with burning, urgency, frequency, pelvic pressure, or fever, and it requires antibiotics to resolve.
The color itself is almost identical, so shade cannot tell you which you are facing. The deciding factor is the symptom pattern: do you have pain or urgency when you urinate? If yes, infection is the concern. If no, the medication is the likely explanation. Use the blue or green urine guide to compare the full range of causes, and read on for the practical way to sort them apart.
Why Amitriptyline Turns Urine Blue
Amitriptyline is a tricyclic antidepressant used for depression, nerve pain, and migraine prevention. Its chemical structure is broken down by the body into metabolites that can carry a blue or blue-green tint when excreted in urine [7†L22-L28]. The color is a direct consequence of drug metabolism, not a sign of kidney damage or toxicity.
This is a recognized but uncommon side effect. It does not happen to everyone who takes amitriptyline, and the exact shade can vary from faint blue to blue-green depending on how yellow the underlying urine is [7†L28-L29]. The color typically persists for as long as you take the medication and clears within 2 to 3 days of stopping [10†L11-L15].
MSD Manuals lists amitriptyline among the medications that cause green or blue urine, alongside methylene blue, propofol, and others [9†L12-L13]. The effect is benign and does not indicate toxicity or a need to stop the medication without medical advice [7†L30-L32].
Why a Pseudomonas UTI Turns Urine Blue
A urinary tract infection caused by Pseudomonas aeruginosa can also produce blue or blue-green urine. The bacterium produces pigments called pyocyanin (blue) and pyoverdin (yellow-green), which mix with urine to create the characteristic shade [4†L7-L8][11†L17-L19].
This is a rare cause of UTI. Pseudomonas is not the most common urinary pathogen—E. coli is—and it is more likely to appear in people with urinary catheters, recent hospital stays, or weakened immune systems. The blue-green color is a clue to the organism, but it is not the main diagnostic feature. The infection pattern is.
The Symptom Pattern That Separates Them
This is the core of the distinction. Blue urine from amitriptyline is a color-only finding. A Pseudomonas UTI is a clinical illness with a recognizable symptom cluster.
Amitriptyline-related blue urine:
- No burning or stinging when you urinate.
- No urgency or frequency beyond your baseline.
- No fever, chills, or flank pain.
- The color tracks your medication—present while you take it, absent when you stop.
- You feel well apart from the color change.
Pseudomonas UTI:
- Burning or stinging when you urinate.
- A sudden, strong urge to pee, or passing frequent, small amounts.
- Lower abdominal or pelvic pressure.
- Fever, chills, or pain in your back or side, which can signal a kidney infection.
- Cloudy urine or a strong foul odor alongside the blue-green tint.
- Risk factors such as a urinary catheter, recent hospitalization, or immunosuppression.
The practical rule is simple: blue urine without urinary symptoms is almost always the medication. Blue urine with urinary symptoms is an infection until proven otherwise. The UTI symptom guide covers the infection pattern in more detail.
How Long the Color Lasts: The Medication Test
The timeline is another useful discriminator. Amitriptyline-related blue urine has a predictable relationship with the drug:
- While taking amitriptyline: the color can persist for the duration of treatment, though it may vary with dose and hydration.
- After stopping: the color typically clears within 2 to 3 days [10†L11-L15].
- Beyond 3 days after stopping: if blue urine persists, amitriptyline is unlikely to be the whole explanation.
A UTI does not follow a medication timeline. If you stop a drug and the color persists, or if the color appeared without starting a new medication, infection or another cause deserves consideration. The blue or green urine guide covers the full differential, including food dyes, medical test dyes, and other medications.
What Else Can Cause Blue Urine
Amitriptyline and Pseudomonas are not the only explanations. Other causes worth knowing:
- Methylene blue, used in some medical tests and treatments, reliably turns urine blue or green [8†L38-L44].
- Other medications, including propofol, cimetidine, indomethacin, and triamterene [8†L30-L33].
- Food dyes in candies, drinks, and frostings.
- Medical test dyes such as indigo carmine.
- Rare inherited or metabolic conditions, which are uncommon and usually present with other symptoms.
If you started a new medication, had a procedure, or ate a brightly colored food in the day before the color appeared, that context is the most useful clue. If none of those apply and the color persists, a urinalysis is the right next step.
When to See a Doctor
Contact a healthcare provider if any of the following applies:
- Blue or blue-green urine comes with burning, urgency, frequency, fever, or flank pain—this is the UTI pattern and needs testing.
- Blue urine persists for more than 3 days after stopping amitriptyline.
- You have a urinary catheter, a recent hospital stay, or a weakened immune system and develop blue-green urine with any urinary symptoms.
- You see blood, clots, or a strong foul odor alongside the color change.
- You feel dizzy, weak, or confused, or you are passing very little urine.
- You are pregnant and have blue-green urine that is not explained by food or medication.
- The color recurs without a medication or food explanation, even if each episode clears on its own.
A simple urinalysis and urine culture can confirm whether Pseudomonas is present and guide antibiotic choice. If you are taking amitriptyline and the color appears without symptoms, do not stop the medication on your own—mention it to your prescriber, who can confirm it is the expected side effect and rule out other causes.
The Bottom Line
Amitriptyline blue urine and a Pseudomonas UTI can look identical, but they are told apart by symptoms, not shade. Amitriptyline produces a benign color change without urinary symptoms, tracking the medication and clearing within 2 to 3 days of stopping. A Pseudomonas UTI comes with the infection pattern—burning, urgency, frequency, fever—and requires antibiotics. If blue urine appears with urinary symptoms, get a urinalysis. If it appears alone while you are taking amitriptyline and you feel well, the medication is the likely explanation, and no urgent action is needed.