In this article, we discuss coil construction that has the right combination of the number of layers and the number of turns per layer. This combination produces a large electromagnetic force with a physical form that is not too large. A magnetic coil can be used as an electromagnetic ejection. The modification of coil construction is done by using the genetic algorithm method. Experiments were carried out using a population of 100 chromosomes and encoded in 8 bits. Then the resulting programming results are calibrated using the FEMM application to obtain a magnetic force profile. The simulation is carried out with a coil forming wire using the #AWG 10 standard which has a length of 3 meter. The results showed that the optimal force was achieved with a coil construction that had 27 layers (nL) and each layer had 38 turns (Tpl).