Metformin helps improve sleep, and a theorized mechanism is through improved glucose metabolism. This might also explain why exercise, which has a similar effect on glucose metabolism, improves sleep as well, and why deteriorating health worsens it.
Some blood pressure lowering drugs worsen sleep, but the possible mechanism is through melatonin suppression.
Some other ways to optimize sleep:
Metformin helps improve sleep, and a theorized mechanism is through improved glucose metabolism. This might also explain why exercise, which has a similar effect on glucose metabolism, improves sleep as well, and why deteriorating health worsens it.
Some blood pressure lowering drugs worsen sleep, but the possible mechanism is through melatonin suppression.
Source:
http://onlinelibrary.wiley.com/doi/10.1111/dme.12362/full