In this work, the grand canonical Monte Carlo method was employed to study the adsorption and separation characteristics of CH 4 /H 2 on MOF-5 and five zeolitic imidazolate frameworks (ZIFs), including two sodalite (SOD), ZIF-8 and -67, two merlinoite (MER), ZIF-10 and -60, and one DFT, ZIF-3. Simulations show that more CH 4 molecules are adsorbed in all frameworks than H 2 , which is consistent with a higher pure gas isosteric heat of adsorption of CH 4 as compared with that of H 2 . For both gases, adsorbed amounts primarily rely on the physical and chemical parameters of the adsorbent. Results of density distribution profiles and equilibrium snapshots of the ZIFs indicate that the most preferential gas adsorption sites for both CH 4 and H 2 are the positions near linkers. At high pressures, CH 4 begins to fill up in the center of the SOD cage. We also found that the selectivity for CH 4 increased with the difference between the isosteric heats of adsorption of CH 4 and H 2 , ∆q st , but decreased to some extent due to the packing effect. Both the isosteric heats of adsorption and the packing effect are mainly influenced by the topology of the framework.