Nanoporous carbons which possess high surface areas and narrow pore size distributions have become one of the most important classes of porous materials with potential to be utilized for hydrogen storage. In recent times, several Metal-organic frameworks (MOFs) have been shown to be promising precursors for creating nanoporous carbons due to their high surface areas and tunable pore sizes. The pore structure and surface area of the resultant carbon materials can be tuned simply by changing the calcination temperature.In this work, a zinc based MOF (MOF-5) and chromium based MOF (MIL-101) were both used as precursors for syntheses of nanoporous carbons structures by direct carbonization technique at different temperatures. The resultant carbon structures possessed high surface areas and differing hydrogen storage capacities.