Polyaniline (PANI) nanotubes were prepared by the oxidation of aniline in solutions of acetic or succinic acid, and subsequently carbonized in a nitrogen atmosphere during thermogravimetric analysis running up to 830°C. The nanotubular morphology of PANI was preserved after carbonization. The molecular structure of the original PANI and of the carbonized products has been analyzed by FTIR and Raman spectroscopies. Carbonized PANI nanotubes contained about 8wt.% of nitrogen. The molecular structure, thermal stability, and morphology of carbonized PANI nanotubes were compared with the properties of commercial multi-walled carbon nanotubes.