I have been taking Trazodone nightly as a sleeping pill since early June, when my tinnitus spiked. The doctor prescribed 100mg tablets; I started out taking half of a pill (50mg) and then started taking the full 100mg. My tinnitus has since settled down, and I'm now also using hearing aids that greatly reduce my tinnitus. So I'm now tapering off of it.
The Trazodone has worked very well for me. The only side effect is that for the first week or so, I was really groggy during the day. I read online that this side effect would go away after the first week, and that was my experience.
I first tried Ambien, and it put me to sleep but I'd wake up in the middle of the night. With Trazodone, I almost always sleep through the night. In addition, unlike Ambien, Trazodone is not a controlled substance, so you don't have to go through the routine of presenting your driver's license and signing something when you pick it up from the pharmacy.
Hope this helps.