An electroplating method includes steps of: providing a substrate having a first portion and a second portion connected to the first portion; forming a metallic layer on a surface of the second portion; immersing the first portion of the substrate in an electrolyte solution, applying a current to the metallic layer to electroplate the first portion of the substrate with a metal layer; and moving the substrate in a direction away from the electrolyte solution during electroplating the first portion of the substrate. The method can improve a uniformity of the obtained plating layer.