Health Library › Tests › Urine ph test
Test
A urine pH test measures how acidic or alkaline your urine is.
A urine pH test measures how acidic or alkaline your urine is. It is usually included in a urinalysis, a group of tests that examines the appearance, concentration, and chemical contents of urine.
The pH scale runs from acidic to alkaline. A pH of 7 is neutral. Lower values are more acidic, while higher values are more alkaline.
Your kidneys help control the balance of acids and alkalis in your body. They do this partly by moving acids into urine. However, urine pH also changes with food, medicines, hydration, infection, and how long the sample sits before testing.
A urine pH result cannot diagnose a condition by itself. It is interpreted alongside your symptoms, medical history, and other urine or blood tests.
Urine pH may be checked as part of a routine urinalysis or when a clinician is investigating a specific concern.
It may help with:
Some bacteria that cause urinary tract infections can make urine more alkaline. However, urine pH cannot confirm or exclude an infection. Symptoms, other urinalysis results, and sometimes a urine culture are more useful for that purpose.
Urine pH can also help assess kidney stone risk. Different stone types are more likely to form in different urine conditions, but a single pH measurement provides only a snapshot.
You may have this test if it is included in an ordered urinalysis. It may also be appropriate if you have recurring kidney stones, urinary symptoms, or a condition that can affect how the kidneys manage acid.
Most people do not need a stand-alone urine pH test as routine screening. Home testing may be recommended when treatment requires urine pH monitoring, such as treatment for selected kidney stone conditions. Follow the schedule and target provided by your care team rather than using a general internet range.
Fasting is not usually needed. You can generally eat and drink as normal unless you have separate instructions for another test.
Tell the clinician or laboratory about prescription medicines, non-prescription medicines, antacids, and supplements. Products containing bicarbonate or citrate, and medicines such as acetazolamide, can change urine pH. Do not stop a medicine solely for this test unless you have been told to do so.
Avoid deliberately drinking a large amount of water immediately beforehand. It can dilute the urine and affect other parts of the urinalysis.
You may be asked for a clean-catch midstream sample. This means cleaning around the urine opening, starting to urinate into the toilet, and then collecting urine without stopping the flow. Follow the collection instructions you receive.
You will receive a clean container. After washing your hands, collect the requested amount of urine without touching the inside of the container or lid.
For a clean-catch sample, you usually:
The laboratory may test pH with a chemical strip called a dipstick. The strip changes colour according to the urine’s acidity. A laboratory instrument or pH meter may be used when a more precise measurement is needed.
A fresh sample gives the most reliable result. If you are collecting at home, follow instructions about refrigeration and delivery time.
Your report will show a pH number and may include the laboratory’s reference range. Interpretation varies by laboratory, age, sex, pregnancy status, medicines, diet, and clinical context.
A lower pH means the urine is more acidic. This can occur after a high-protein meal, during fasting, or when the body is producing or retaining more acid. Certain medicines and some medical conditions can also contribute.
A higher pH means the urine is more alkaline. This may occur after meals, with a diet rich in some fruits and vegetables, or after taking bicarbonate or citrate. It can also occur with certain urinary infections, vomiting, or conditions affecting kidney acid handling.
One result outside the laboratory range does not necessarily mean something is wrong. A repeat fresh sample or other testing may be more informative, especially if the finding was unexpected.
Urine pH changes naturally, and several factors can produce an unexpected number even when the laboratory has tested the sample correctly.
Important influences include:
For monitoring, consistency matters. Use the same collection method and timing whenever possible.
Dipsticks are useful for a quick estimate, but they do not measure pH as precisely as a laboratory pH meter. Colour changes can also be difficult to judge, and an old or improperly stored strip may give an inaccurate result.
There is no single percentage describing how often urine pH testing is right or wrong. Accuracy changes with the testing method, sample freshness, storage, and the size of the pH difference being measured.
Urine pH is not a yes-or-no test for infection. A person with a urinary infection can have an ordinary pH, so the test may miss the infection if used alone. Alkaline urine can also occur without infection, so it may suggest infection when none is present.
If infection is the concern, a urine culture can identify bacteria more directly. If kidney stones are being investigated, stone analysis, blood tests, imaging, or a 24-hour urine collection may be more useful. Blood electrolytes, bicarbonate, and sometimes a blood gas are better for assessing the body’s overall acid balance.
Providing a urine sample is painless and has no meaningful physical risk. The main difficulties are temporary inconvenience, trouble passing urine on demand, or contamination requiring another sample.
A result that is mildly acidic or alkaline often needs only routine review, especially if you feel well and the rest of the urinalysis is normal. Your clinician may compare it with previous results or repeat the test using a fresh sample.
Further testing may be considered if the pH result is persistent, does not fit the clinical picture, or appears alongside blood, protein, crystals, white blood cells, or other abnormal findings.
Seek prompt medical advice if urinary symptoms occur with fever, pain in your side or back, repeated vomiting, or pregnancy. Seek emergency care for confusion, fainting, difficulty breathing, inability to pass urine, or severe and unrelenting pain. These symptoms matter more urgently than the urine pH number itself.
Can I drink coffee before a urine pH test?
Usually, yes. Fasting is not normally required. If you are monitoring pH over time, keep your routine consistent and follow any instructions about drinks before testing.
Does the time of day matter?
It can. Urine pH changes after meals and throughout the day. For a one-time urinalysis, follow the collection instructions. For home monitoring, test at the times you were given.
Can I exercise beforehand?
Ordinary activity is unlikely to make the test unusable. Strenuous exercise can temporarily affect metabolism, hydration, and other urinalysis findings, so avoid an unusually intense workout if a representative routine sample is needed.
Can I test urine pH at home?
Home strips can estimate pH, but storage, timing, lighting, and colour matching affect the reading. They are most useful when you have been given a monitoring plan and know what action to take.
Does alkaline urine mean I have a urinary tract infection?
No. Some infections raise urine pH, but diet, medicines, delayed testing, and other factors can do the same. Infection is assessed using symptoms, other urinalysis findings, and sometimes a urine culture.
Should I change my diet because of one result?
Usually not. A single result is only a snapshot. Discuss persistent or treatment-related results before making major dietary changes, particularly if you have kidney disease or kidney stones.
sofidex [Internet]. Daloreum; c2026. Urine ph test; [reviewed 2026 Aug 24; cited 2026 Nov 10]. Available from: https://sofidex.com/patients/tests/urine-ph-test
sofidex. (2026, August 24). Urine ph test. Daloreum. Retrieved November 10, 2026, from https://sofidex.com/patients/tests/urine-ph-test
Urine ph test. sofidex. Reviewed August 24, 2026. Accessed November 10, 2026. https://sofidex.com/patients/tests/urine-ph-test
The cited date is today’s, because a citation records when you read the page. The reviewed date is when a clinician last checked it.