Underground storage in porous media offers enormous prospects as it is possible to rehabilitate abandoned petroleum formation into storage of natural gas, liquefied petroleum gas, carbon dioxide and methane for safety purposes or as strategic reserves. This simulation using CMG software aims to highlight the main mechanisms of gas flow and conservation in an exhausted reservoir and to determine the general conditions for optimal storage by identifying and limiting gas losses.