Methods and systems for removing water from gas wells are described herein. The water is removed by positioning a pump in a liquid layer below the perforations through which gas enters a gas well and powering a water pump with electrical power generated by an energy recovery system which produces electricity from a gas flow through the energy recovery system to an earth surface.