What compounds make the odor of urine?

Pee has a distinct odor that people say comes from ammonia, but an actual bottle of ammonia smells different than urine.

Mainly urea.

Fresh urine contains urea but shouldn’t contain ammonia. After excretion, urea is decomposed by bacterial action into ammonia.

ETA: Other compounds from your diet, e.g. asparagus, can also find their way into urine.

My recollection from lab work in biochemistry class in college is that urea is odorless!

Or, in my case, manly urea.

Urea is odourless; the smell comes mainly from substances into which urine decomposes (which is also the reason why fresh urine smells much less pungent than old one).

so this brings us back to Ammonia, which urine does not smell like

Concentrated stale urine smells like ammonia to me. My kids will often leave their potties filled with pee without dumping it out or before I get to dump it out, and it definitely smells like ammonia. Even me, if I have a particularly dehydrated yellow to dark yellow pee, I get the ammonia whiff, too.

Urine can also smell of the food eaten or drink drunk.

Coffee and Asparagus has a strong smell come out in the urine.
Take some urine and remove all the water - Urea is only around 50% of the substances left over.

Normal substances found include…

Urobilin exists at a high enouch concrentration to make urine yellow, and has the structure of an ester… OOH’s hanging off a long chain… Enzymes (from bacteria in the bladder… there’s some in there !! ) might break it down a bit. The ester structure molecules from it probably smell strongly relative to their concentration.

Indoxyl exists at a high enough concentration to dye urine purple if the bacteria ferments it in the right conditions. This has the structure of benzene ring plus another ring, and sulphate as well. So it may be this that provides a sour sulfur smell, sulfur compounds being relatively strong in smell.

Great stuff here: Composition And Concentrative Properties Of Human Urine

NASA-approved!

Bump. Just realized that, although cite above has good stuff, not OP specific. Sorry about that.