I thought of some more stuff:
- Try sleeping in a different room. This can be a bad habit, but sometimes you really need that sleep.
Sleeping on my couch is the best solution for me.
- Wind down an hour or so before bed. Avoid tv, internet, smart phones, etc. Maybe lie on a couch/floor. Focus on your breathing, a spot on the ceiling, the hum of your fridge, etc.
- Avoid caffeine after noon and avoid alcohol several hours before bed.
- Use your bed for sleeping and sex only. Don't hang out there for other reasons. The idea is to train your mind that being in bed means going to sleep.
- If you can't sleep after a half hour or so, go to another room and do some boring activity. Knit, read, etc until you are ready to sleep.
- Try to avoid taking pills (particularly benzos) if possible. If you have to, be serious about following your doctors orders and weening off. Also, your doc may prescribe something stronger than you need. Accurate reporting of the drug's effects is important.
- Put work/school down when you're not there. Don't check your e-mails, stress over projects, relive stressful interactions, etc.
Read up on
sleep hygiene. It's a lot of common sense stuff, but it's easy to overlook with the hustle and bustle of everyday life.
Good luck. Insomnia sucks.