A pillow allowing adjustment of the height, thereby minimizing neck muscles' strain and improving efficiency and quality of sleep is disclosed. The disclosed pillow contains a number of various compartments that are in communication with each other to allow adjustment of the height by the user.