Hi Max8945, welcome to Psych Central, I somehow stumbled to a sleep clinic. What I found is if your sleep deprived, you body craves more food. It gets to be a habit because your body is using the food for energy to keep functioning without sleep. In my sleep study I stopped breathing over 200 times and didn't get into a rim sleep at all. I have a mask I suppose to wear I night, that I don't. I'm on trazadone and it helps with the sleep. Still waking most the night every hour or so. See my doctor next week and hopefully she will change my meds to something that puts me to sleep. One other thing if your not eating enough during the day, then you will be hungry at night.