If your urine is being tested only for a urinalysis, you can eat and drink normally before the test. If you're having other tests at the same time, you may need to fast for a certain amount of time before the test. Your doctor will give you specific instructions.
Many drugs, including nonprescription medications and supplements, can affect the results of a urinalysis. Before a urinalysis, tell your doctor about any medications, vitamins or other supplements you're taking.