The invention discloses a pillow comprising a pillow body, wherein a memory material with recoverability is arranged in the pillow body, the memory material can be memory metal or memory plastic, and two sides of the pillow are provided with sound boxes. After adopting the technical scheme, by utilizing the function of the memory material, the pillow can take the shape of a flat slab, and also can be bent into U shape, and when the pillow is in the U-shaped state, the head can be semi-wrapped by the pillow, no matter how a human body moves, the pillow can always move with the head to bear the head; meanwhile, as ears can be wrapped by the pillow, the pillow can play a role in sound insulation to certain extent, and also can play a role in keeping warm if the pillow is used in winter. As the pillow can be bent, the pillow is quite convenient to carry.