Oily hair is caused by sebaceous glands under your scalp, providing hydration and a protective barrier, but too much of this can cause oily hair. Your genetics play a role in how often you should wash your hair, and having an oily complexion, a poor environment, use of excessive hair products, intensive exercise, and overwashing can produce an oily scalp quickly.