Ideally 8-10 hours of fasting prior to the test is recommended. However, water may be allowed till 2 hours prior to the test.