The spine contains intervertebral discs filled with gel-like fluid that compress under gravity's pressure throughout the day. When you lie down to sleep, the discs rehydrate and expand, making you about 1-2 centimeters taller in the morning. By day's end, cumulative compression from standing and sitting reduces height slightly.