Size-dependent 3D superlattices have been fabricated from ZnO nanocrystals capped with ionic liquid components; on the basis of X-ray diffraction, two packing modes, that is, hexagonal and face-centered cubic close packings, have been discovered for the superlattices consisting of the ZnO nanocrystals as building blocks.