A cooling apparatus includes a magnetocaloric material, a magnetizing device, a converting device for applying pressure or tension to the magnetocaloric material, and a movement mechanism to move the magnetocaloric material. The magnetocaloric material changes its temperature when there is a change in an external magnetic field and when there is a change in an applied pressure. The movement mechanism moves the magnetocaloric material to expose it alternatingly to the external magnetic field and the change in pressure and to cause a periodic temperature change in the magnetocaloric material, whereby periods of lower temperature can be used for cooling.