Most sleeping pills are designed for short-term use (up to four weeks). If you plan to take a sleeping pill for longer than four weeks, talk to a healthcare professional.