In the current paper electrospun nanofiber mats were derived from polyacrylonitrile (PAN). The temperature influence on the volumetric and surface composition of the resulting pyropolymers was studied by means of elemental analysis and X-ray photoelectron spectroscopy.