For a fasting blood sugar test, you must fast for a minimum of 8 hours. So, if you have had a late dinner, schedule your test 8 hours later.