This medication is used to treat kidney or bladder (urinary tract) infections. Ciprofloxacin belongs to a class of drugs called quinolone antibiotics. It works by stopping the growth of bacteria. This antibiotic treats only bacterial infections.