A fasting blood sugar test (also known as fasting blood glucose test) is a simple medical procedure used to measure the level of glucose (sugar) in your blood after you have not eaten for at least 8 hours. It is often used to help diagnose and monitor conditions related to blood sugar, such as diabetes or pre-diabetes.