A permanent magnet produces its own magnetic field which is always present and cannot be switched on or off. An electromagnet creates its magnetic field by using a wire-wound coil which requires a source of electricity.