From a primer on the pungent odor that Proust said “transforms my chamber-pot into a flask of perfume”:
Some people simply don’t smell anything different when urinate after they eat asparagus. Scientists have long been divided into two camps in explaining this issue. Some believe that, for physiological reasons, these people (which constitute anywhere from 20 to 40 percent of the population) don’t produce the aroma in their urine when they digest asparagus, while others think that they produce the exact same scent, but somehow lack the ability to smell it.
On the whole, the evidence is mixed. Initially, a pair of studies conducted in the 1980s with participants from France and Israel found that everyone produced the characteristic scent, and that a minority of people were simply unable to smell it. People with the ability to detect the scent, though, were able to smell it even in the urine of those who couldn’t smell it, indicating that the differences were rooted in perception, not production.
More recent studies, though, suggest the issue is a bit more complicated. The most recent study, from 2010, found that differences existed between individuals in both the production and detection of the scent.