Headaches have a wide variety of causes, ranging from eyestrain to inflammation of the sinus cavities to life-threatening conditions such as encephalitis. When the headache occurs in conjunction with a head injury the cause is usually quite evident; however, many causes of headaches are more elusive. The most common type of headache is a tension headache.