Ethylene production has a negative environmental impact, with its separation step being one of the major contributors of pollution. This has encouraged the search for energy-efficient alternatives, among which the adsorptive separation of ethane and ethylene stands out. ZIF-8 is a molecular sieve that is potentially useful for this purpose. It is selective to ethane, an exceptional property that remains unexplained. Furthermore, the adsorption of ethane and ethylene above room temperature, such as at steam cracking process outlet temperatures, has not been addressed either. This work aims to fill this knowledge gap by combining experiments at very low volumetric fillings with density-functional theory modelling methods. Adsorption isotherms of ethane and ethylene on ZIF-8 at pressures below 0.3 bar and 311 K, 333 K, and 363 K were measured using zero-length column chromatography. The low-pressure domain of the isotherms contains information on the interactions between the adsorbate molecules and the adsorbent. This favors the understanding of their macroscopic behavior from simulations at the atomic level. The isosteric enthalpy of adsorption of ethane remained constant at approximately -10 kJ/mol. In contrast, the isosteric enthalpy of adsorption of ethylene decreased from -4 kJ/mol to values akin to those of ethane as temperature increased. ZIF-8 selectivity to ethane, estimated from ideal adsorbed solution theory, decreased from 2.8 to 2.0 with increasing pressure up to 0.19 bar. Quantum mechanical modelling suggested that ethylene had minimal interactions with ZIF-8, while ethane formed hydrogen bonds with nitrogen atoms within its structure. The findings of this research are a platform for designing new systems for the adsorptive separation of ethane and ethylene and thus, reducing the environmental impact of ethylene production.