While NMR diffusion measurements are widely used to derive parameters indirectly related to the microstructure of biological tissues and porous media, direct imaging of pore shapes would be of high interest. Here we demonstrate experimentally that complexly shaped closed pores can be imaged by diffusion acquisitions. Collecting the signal from the whole sample eliminates the problem of vanishing signal at increasing resolution of conventional NMR imaging. This approach may be used to noninvasively obtain structural information inaccessible so far such as pore or cell shapes, cell density, or axon integrity.