Fainting is caused by a sudden drop in blood pressure, which decreases the blood flow to the brain. It could be caused by a pre-existing medical issue, or any number of factors such as anxiety, dehydration, drug or alcohol use, heart conditions, hyperventilation, low blood sugar levels, some neurological conditions, and prescribed medications.