Using NyQuil as a sleep aid is known to make people drowsy and fall asleep. The duration of sleep can vary depending on the person. For some, taking NyQuil is good for sleeping between four to six hours, while for others, sleep lasts between seven to eight hours.

https://recoverypartnernetwork.com/drug/opioid/nyquil-addiction