Nitrofurantoin is an antibiotic that fights bacteria in the body. Nitrofurantoin is used to treat urinary tract infections. Nitrofurantoin may also be used for purposes not listed in this medication guide.