Gravitational lenses that produce multiple images of background quasars can be an invaluable cosmological tool. Deriving cosmological parameters, however, requires modeling the potential of the lens itself. It has been estimated that up to a quarter of lensing galaxies are associated with a group or cluster that perturbs the gravitational potential. Detection of X-ray emission from the group or cluster can be used to better model the lens. We report on the first detection in X-rays of the group associated with the lensing system PG 1115+080 and the first X-ray image of the group associated with the system B1422+231. We find a temperature and rest-frame luminosity of 0.8Equation or symbol description not available keV and 7Equation or symbol description not available × 1042 ergs s-1, respectively, for PG 1115+080 and 1.0Equation or symbol description not available keV and 8Equation or symbol description not available × 1042 ergs s-1, respectively, for B1422+231. We compare the spatial and spectral characteristics of the X-ray emission with the properties of the group galaxies, with lens models, and with the general properties of groups at lower redshift.