The side effects of sleeping pills depend on the type and dosage of the sleeping pill. Some sleeping pills can cause drowsiness, dizziness, headaches or upset stomach.