Alkaptonuria is a rare inherited disorder. It occurs when your body can’t produce enough of an enzyme called homogentisic dioxygenase (HGD). This enzyme is used to break down a toxic substance called homogentisic acid. When you don’t produce enough HGD, homogentisic acid builds up in your body. The buildup of homogentisic acid causes your bones and cartilage to become discolored and brittle. This typically leads to osteoarthritis, especially in your spine and large joints. People with alkaptonuria also have urine that turns dark brown or black when it’s exposed to air.