Flavoxate is used to treat overactive bladder (a condition in which the bladder muscles contract uncontrollably and cause frequent urination, urgent need to urinate, and inability to control urination) relieve painful, frequent, or nighttime urination and urgency that may occur with infections of the prostate, bladder.