I had terrible sleep patterns for a while. I go to bed around 10 PM and would wake between 3 AM and 4 AM and couldn't get back to sleep. This went on for a long time and I tried everything from all the usual supplements, all the right sleep practices etc. Nothing worked. Eventually it was discovered I had stomach / digestive issues. As it was explained to me, the microbes in my gut were producing gas and whatnot and that was likely causing inflammation, increasing cortisol and waking me up early. It wasn't until I took antimicrobials to sort out my digestive issues that my sleep normalised. Even now, I still take two supplements before bed which help me get a deep sleep, 5HTP and Magnesium Glycinate.