Long-term use of cannabis as a sleep aid may lead to tolerance and negative impact on sleep quality. High doses of THC can result in impaired memory and sleepiness the next day.