This paper deals with shape optimization for anisotropic elastoplasticity in logarithmic strain space. We aim to find an appropriate undeformed configuration of a workpiece knowing in advance its deformed configuration, the boundary conditions and the applied loads. The node coordinates of the finite element (FE) domain are chosen as design variables. A discrete sensitivity analysis is presented and analytical gradients are performed. A numerical example illustrates the theoretical aspects