I have taken trazodone for sleep before. It didn't cause any side effects for me, but it also didn't help much. It did make me drowsy like it's supposed to, but that wasn't enough to help me really sleep.
I hope you'll have better results. Maybe ask your doc if a change in dose might help. It's been awhile, so I don't remember what dose I was on.