The formation of methane hydrate in two significantly different media was investigated, using silica gel as an artificial medium and loess as a natural medium. The methane hydrate formation was observed through the depletion of water in the matrix, measured via the matrix potential and the relationship between the matrix potential and the water content was determined using established equations. The velocity of methane hydrate nucleation slowed over the course of the reaction, as it relied on water transfer to the hydrate surfaces with lower Gibbs free energy after nucleation. Significant differences in the reactions in the two types of media arose from differences in the water retention capacity and lithology of media due to the internal surface area and pore size distributions. Compared with methane hydrate formation in silica gel, the reaction in loess was much slower and formed far less methane hydrate. The results of this study will advance the understanding of how the properties of the environment affect the formation of gas hydrates in nature.