My understanding from speaking with sleep specialists is that you'd need to take a large amount every day for weeks or months to develop a tolerance. They thus recommend cycling off melatonin bi-weekly or monthly for a little while.
(Sorry, no source other than time spent visiting the Cornell Sleep Institute.)
(Sorry, no source other than time spent visiting the Cornell Sleep Institute.)