The polarity of electromagnet also gets reversed when the direction of current is reversed. The current flows from negative terminal to positive terminal in an electromagnet due to the flow of electrons so polarity is also established in the electromagnet. As, the current direction is reversed, the polarity of magnet also gets reversed because the polarity of magnet depends on the direction of the current.