A vaginal pH test is often recommended when a woman experiences symptoms such as unusual vaginal discharge, odor, itching, or irritation. It is also useful in diagnosing the cause of recurrent urinary tract infections and during routine gynecological exams.