Among methods employed for carbon capture, electroreduction of CO2 offers not only reducing CO2 levels but also the possibility of recycling it into commodity chemicals. However, the most efficient catalysts for this reaction are precious metals. In order to achieve cost-effective processes, other elements should be used. Transition-metal atoms coordinated in metal-organic frameworks (MOFs) exhibit high performance as electrocatalysts. However, the isolating nature of MOFs limits their utilization as electrocatalysts. In this study, we have grown MOF nanoparticles inside hierarchically meso-porous carbon instead of mixing the MOFs with conducting carbons. The incorporated MOF nanoparticles show improved properties than MOFs mixed with carbon, proving the strong electronic interactions in the composites. The encapsulated MOF nanoparticles demonstrate high electric conductivity while preserving their original crystallinity. When used as electrodes in CO2 electroreduction, the MOFs provide high electroactive coverage of 155 nmol cm− 2. Moreover, in CO2 saturated electrolyte, the composites exhibit excellent electrochemical performance, including a small onset potential (-0.31 V vs. RHE) and large reduction currents (-18 mA· cm− 2 at -1.0 V), considerably higher than usually reported for MOF-based beyond CO electroreduction. Importantly, the composite is able to produce valuable hydrogenated chemical commodities, including formic acid.