Nitrites appear in the urine when a person has a bacterial infection in their bladder, ureter, or kidneys. Who should be tested for nitrites, and how are they formed? Learn more here. We also describe symptoms of urinary tract and kidney infections, as well as their treatments and possible complications.