Anisotropic etching is a powerful way to customize metal-organic frameworks with advanced nanostructures, but it is still in its infancy. Herein, we proposed an unprecedented etching strategy that created anisotropic hollow structures in various zeolitic imidazolate framework (ZIF) nano/single crystals via pore-specific carving. The etching occurred through a newly discovered gas-solid reaction where carboxylic acid vapors bind with ligands in ZIFs at room temperature to form ionic liquid (IL). A series of experiments were conducted to decode the origin of anisotropy and the "hollowing out" effect. We found that large pore openings on {111} facets provide access for the entry of carboxylic acid vapors and the outflow of the IL, resulting in pore-dependent anisotropy features. The unique "etching after adsorption" mechanism and the adsorption capacity of the IL enable acid vapors to hollow out nanocrystals and even single crystals. By altering carboxylic acids and ligands in ZIFs, the etching process can be precisely tuned from the inside out or the outside in. This new method demonstrates broad universality and brings unprecedented morphologies and complexities. It may offer great opportunities for achieving purposeful modification of ZIFs and the rational construction of intricate architectures.