In this paper we define and study a generalized Drazin inverse x D for ring elements x, and give a characterization of elements a, b for which aa D = bb D . We apply our results to the study of EP elements in a ring with involution.2000 Mathematics subject classification: primary 16A32, 16A28, 15A09; secondary 46H05, 46L05.