A permanent magnet retains its magnetism over time, while a temporary magnet only behaves like a magnet when placed in a strong magnetic field.