A method for treatment of sleeping disturbance to obtain improvement of sleeping, wherein a therapeutically effective dose of esomeprazole or an alkaline salt thereof is administered to a patient suffering therefrom. The method is applicable for instance in patients suffering from gastroesophagal diseases (GERD).