Fasting before a blood test is sometimes required because it may affect the blood test results. For example, immediately after eating, blood-sugar levels temporarily spike. So, fasting is required before a blood glucose test.