A two-dimensional electrochemical machining problem which consists of an almost circular anode placed inside a circular cathode is solved using a perturbation procedure. The smoothing of rough metal parts is studied by solving the resulting perturbation equations numerically.