Rod-like ZIF-L was formed through a self-assembly mechanism, and phase transformation from ZIF-L to ZIF-8 occurred once ethanol was used as the washing solvent.