The human lipid kinase family controls cell proliferation, differentiation, and tumorigenesis and includes diacylglycerol kinases, sphingosine kinases, and ceramide kinases. YegS is an Escherichia coli protein with significant sequence homology to the catalytic domain of the human lipid kinases. We have solved the crystal structure of YegS and shown that it is a lipid kinase with phosphatidylglycerol kinase activity. The crystal structure reveals a two-domain protein with significant structural similarity to a family of NAD kinases. The active site is located in the interdomain cleft formed by four conserved sequence motifs. Surprisingly, the structure reveals a novel metal binding site composed of residues conserved in most lipid kinases.