Comparison of an electromagnet with a permanent magnet
| Electromagnet | Permanent magnet |
|---|---|
| It is made up of soft iron. | It is made up of steel. |
| It produces the magnetic field as long as current flows in it's coil. i.e., it produces the temporary magnetic field. | It produces a permanent magnetic field. |