According to the American Heart Association, a healthcare professional may advise a person to avoid eating, drinking most beverages, and taking medications, for 9-12 hours before a cholesterol test.
However, not all cholesterol tests require fasting. A person should only fast if their doctor or the test manufacturer recommends it.