This paper deals with a slender micropin, which can be used for micromachining. The shaping mechanism in electrochemical etching is investigated on the basis of electrochemical kinetics. The pin profile can be controlled by adjusting the current and voltage level. A mathematical model is derived for controlling the diameter of the micropin. (C) 2001 Published by Elsevier Science Ltd.