Tinnitus can occur as a sleep disorder - -this is called the "exploding head syndrome". This most often occurs while falling asleep or waking up. It is a tremendously loud noise. Some theorize that this syndrome is due to a brief seizure in auditory cortex. It is not dangerous.(Green 2001; Palikh and Vaughn 2010). Logically, anticonvulsants might be useful for treatment.
Most people who suffer from tinnitus also experience hearing loss to some degree. As they often accompany one another, the two conditions may be correlated. In fact, some researchers believe that subjective tinnitus can only occur if the auditory system has been previously damaged (source). The loss of certain sound frequencies due to hearing loss may change how the brain processes sound, causing it to adapt and fill in the gaps with tinnitus. The underlying hearing loss typically results from exposure to loud noises or advanced age:
Limit use of earplugs. Earplugs are important to use to protect your hearing when you’re likely to be exposed to loud noises. (Remember, exposure to loud sounds, and noise-induced hearing loss, are common causes of tinnitus, and may make tinnitus worse if you already have the condition.) But otherwise, people with tinnitus are advised not to wear earplugs, including for sleep. Earplugs reduce your ability to hear external noise and can make tinnitus more noticeable.
If you're not sure of what is causing your tinnitus, a hearing care professional can help pinpoint the issue through a series of tests. It can be helpful to take notes of the sounds you are regularly or irregularly experience to help your hearing healthcare professional put together the clues to what may be causing it. Be sure to alert your practitioner of any pertinent medical history, medications or excessive noise exposure that could be playing a role in your tinnitus.
Subjective tinnitus is the most common type and accounts for 95 percent of cases. Only you can hear it and it’s usually caused by exposure to excessive noise. It can appear suddenly and may last three months (acute) to 12 months (subacute), or longer. Subjective tinnitus is often accompanied by hearing loss due to hair cell nerve damage. The severity of symptoms varies from patient to patient, and largely depends on your reaction to the noise.
The accepted definition of chronic tinnitus, as compared to normal ear noise experience, is five minutes of ear noise occurring at least twice a week. However, people with chronic tinnitus often experience the noise more frequently than this and can experience it continuously or regularly, such as during the night when there is less environmental noise to mask the sound.
If you develop tinnitus, it's important to see your clinician. She or he will take a medical history, give you a physical examination, and do a series of tests to try to find the source of the problem. She or he will also ask you to describe the noise you're hearing (including its pitch and sound quality, and whether it's constant or periodic, steady or pulsatile) and the times and places in which you hear it. Your clinician will review your medical history, your current and past exposure to noise, and any medications or supplements you're taking. Tinnitus can be a side effect of many medications, especially when taken at higher doses (see "Some drugs that can cause or worsen tinnitus").