Selective gas uptake in zeolites often relies on size — hosts accommodate guests that are small enough to fit into their pores. Now, a zeolite containing cations that function as molecular trapdoors allows guest-selective, size-inverse separations that could help with carbon capture and hydrogen purification.