Inside bacteria, enzymes called flavoproteins change nitrofurantoin into reactive pieces. These pieces damage the bacteria's ribosomes, the parts that make proteins, along with other large molecules. As a result, the bacteria can no longer make protein, DNA, or RNA, produce energy, or build their cell walls, and they die. Because it hits so many targets at once, bacteria rarely become resistant to it.
Each Macrobid capsule holds two forms of the drug: one dissolves slowly, and the other forms a gel in the stomach and gut that releases the drug over time. Very little stays in the blood, but about a quarter of each dose passes unchanged into the urine within a day, where it kills bacteria and may turn the urine brown. Taking it with food raises the amount absorbed by about 40%. Because the kidneys clear it, poor kidney function leads to higher blood levels and more toxicity, such as nerve damage, while use for months is linked to lung scarring.