Me too. Mine came for no apparent reason. I went to three family practice doctors and an ENT. The ENT looked in my ears with a microscope and couldn't find anything structurally wrong. He then gave me an audiogram test and my hearing was near-perfect in as much as the test could determine. So what caused my tinnitus is a complete mystery to me. Most tinnitus is associated with hearing loss, but mine isn't.
But my tinnitus did keep me up and give me a lot of trouble sleeping, especially during the first few weeks. I so badly wanted to get prescribed something like Xanax, but it seemed like none of my doctors were willing to take that step. Does anyone know why it is doctors seem to be reluctant to prescribe anti-anxiety meds? All of mine just told me to essentially live with it and that it might not be permanent so I shouldn't let it bother me. Easier said than done, for sure.
If you have a doctor willing to prescribe you meds to help you sleep, I would do it so long as it isn't a med that can increase the risk of hearing loss or tinnitus. But if meds are what it is going to take for you to get through the night until you're able to cope naturally, then so be it.
I will say that over time though, I was able to sleep even with my tinnitus. Like even when it was loud, I would still be able to fall asleep. In a lot of ways I so looked forward to it because sleep was the only time I did not hear my tinnitus.
Sometimes I don't know what is worse, the tinnitus or the anxiety that comes with it. But if I were you, if you have a doctor who is willing to prescribe you some anti-anxiety medication, then go for it. And while you're at that, make sure you look into getting treatment from someone who specializes in tinnitus management. Many people have habituated to their tinnitus, and so can you, as hard as that is to believe right now.