A process and corresponding apparatus for dehydrating gas, especially natural gas. The process includes an absorption step and a membrane pervaporation step to regenerate the liquid sorbent.