Any magnet will stop being magnetic if heated past the temperature of 176° Fahrenheit (or 80° Celsius).