Sleeping pills can have many side effects after taking them for a long time, and these side effects include the following: 1. they can cause patients to suffer from memory loss, and many patients will suffer from memory loss after taking sleeping pills for a long time, especially older people whose memory is already on the decline, plus if they take sleeping pills for a long time, it will greatly increase the speed of memory loss. 2. they can cause some damage to the body. The first thing you need to do is to take a sleeping pill, which can lead to liver and kidney damage as well as neurological and metabolic damage. 3.