The efficient recovery of C2H2 from the gas mixtures comprising CO2 and other light hydrocarbons is the key to realize its further value-added production. In view of their similar physical properties, reasonable design of porous physical adsorbents is expected. Here, we report a metal–organic framework bpy-NH2-CuZrF6, which possesses the suitable aperture size and abundant Lewis basic sites derived from the modified amino groups and fluorinated anions, making it the first example of achieving the efficient recovery of C2H2 from a C2H2/C2H4/C2H6/CO2 quaternary mixture. This porous material possesses an excellent C2H2 adsorption capacity (138.9 cm3/g, 298 K and 1 bar) along with considerable IAST selectivities for equimolar C2H2/CO2 (6.6), C2H2/C2H4 (6.3), and C2H2/C2H6 (6.3) simultaneously. Combined with the adsorption heats and theoretical calculations, the preferential binding with C2H2 is demonstrated. And further breakthrough experiments show that the material can efficiently purify C2H2 not only from various binary mixtures (50/50 C2H2/CO2, 50/50 C2H2/C2H4, and 50/50 C2H2/C2H6), but also from the ternary (33.3/33.3/33.3 C2H2/C2H4/CO2) and even quaternary (25/25/25/25 C2H2/C2H4/C2H6/CO2) mixtures. As a result, 32.1 L/kg and 21.9 L/kg C2H2 with fuel-grade (purity ≥ 98 %) are recovered successfully after desorption for ternary (33.3/33.3/33.3 C2H2/C2H4/CO2) and quaternary (25/25/25/25 C2H2/C2H4/C2H6/CO2) mixtures respectively. Further combined with the green scalable synthesis, good recyclability, and high stability, this microporous material is expected to have a promising prospect for practical applications.