Tannin-based rigid foams of different bulk densities and their carbonized counterparts were investigated for the first time by X-ray microtomography. This method allowed acquisition of three-dimensional pictures of such highly porous materials. Through mathematical treatment of the images, extremely useful physical characteristics such as porosity, fraction of open cells, connectivity, tortuosity, and pore-size distribution were determined as a function of the foam's density. The obtained information was compared with independent data derived from pycnometry measurements and scanning electron microscope image analysis. The agreement was shown to be acceptable in the limit of the accuracy of the laboratory microtomograph (4 microm). Moreover, recalculating properties like permeability were shown to be quite possible based on the results of standard microtomography data.