If your dermatologist suspects that the cause of your hair loss could be a disease, vitamin deficiency, hormone imbalance, or infection, you may need a blood test or scalp biopsy. These tests can be done in your dermatologist's office.