The strength of an electromagnet can be increased by increasing the current that flows through the solenoid, increasing the number of turns in the coil while keeping the length of the solenoid the same, decreasing the length of the coil while keeping the number of turns the same, or adding an iron core to the inside of the solenoid.