We modify the definition of Dirac cohomology in such a way that the standard properties of the usual Dirac cohomology, valid for modules with infinitesimal character, become valid also for modules with only generalized infinitesimal character.