This paper reports for the first time in situ crystal growth of ZIF-8 on electrospun polyurethane (PU) nanofibers. In SEM images, continuous and compact ZIF-8 nanocrystals grow along electrospun PU nanofibers. The highest loading capacity of ZIF-8 on PU reaches 63%. By N 2 adsorption-desorption, ZIF-8-PU shows a high surface area of 566 cm 2 g −1 . Combining the good flexibility of PU with the high adsorption properties of ZIF-8, ZIF-8-PU can be easily tailored into clothes or other forms as adsorption material. Furthermore, the gas adsorption ability of ZIF-8-PU was measured for H 2 , N 2 , O 2 and CO 2 at room temperature (20°C) under different pressure gradients. The results show that the adsorption capacity of ZIF-8-PU for CO 2 is nearly 11 times that for H 2 , 50 times that for O 2 and 75 times that for N 2 at 800 mmHg.