I've always had insomnia since I was a kid and I just chalked it up to "being a night owl." As a teenager, I mostly solved this by living in a permanent fog during the week and "catching up" by sleeping in on the weekend. As an adult, I was suffering greatly from chronic sleep deprivation because adults (mostly) don't have much control over when they can wake up to start the day.
Around 10 years ago, I started taking 5mg melatonin. It's going to sound like I'm overselling it, but it changed my life. It _very reliably_ makes me sleepy 1-2 hours after I take it. If I forget to take it, I am fully awake until the wee hours of the morning. Is it important to note that (for me), after I take it, I have to engage in some passive activity like (calm, non-shouty) YouTube repair videos or reading. Also, the "window of sleepiness" is at most about 30 minutes and if I decide to power through it, I will come out the other side fully awake again. Melatonin does not "force" me to sleep, only highly encourages it.
I was skeptical of melatonin for the longest time. Generally, I rarely see much if any positive effect from supplements. But (for me!) this stuff really works. If anyone reading this is on the fence, I highly recommend giving it a try. (With the acknowledgement that it takes about a week to get into a solid sleep schedule if yours is currently disorganized.)
Also, I don't take melatonin often, only when I seem to need to reset my sleep cycle, and I only take about 200-300 micrograms.
Why do you take so much? 5mg is a lot, according to the studies.
I started with 5mg arbitrarily because that seemed to be the most common dosage sold at the time. I think about lowering the dosage sometimes but at the end of the day, I know 5mg works well for me. I don't notice any side effects, and it's not any cheaper.
I also started with the special "slow release" formulas but couldn't tell any difference from the normal generic stuff.