Calcium carbide (CaC2)-derived carbon (CCDC)/polyaniline (PANI) composite materials are prepared by in situ chemical oxidation polymerization of an aniline solution containing well-dispersed CCDC. The structure and morphology of CCDC/PANI composite are characterized by Fourier infrared spectroscopy (FTIR), scanning electron microscope (SEM), transmission electron microscopy (TEM) and N2 sorption isotherms. It has been found that PANI was uniformly deposited on the surface and the inner pores of CCDC. The supercapacitive behaviors of the CCDC/PANI composite materials are investigated with cyclic voltammetry (CV), galvanostatic charge/discharge and cycle life measurements. The results show that the CCDC/PANI composite electrodes have higher specific capacitances than the as grown CCDC electrodes and higher stability than the conducting polymers. The capacitance of CCDC/PANI composite electrode is as high as 713.4Fg−1 measured by cyclic voltammetry at 1mVs−1. Besides, the capacitance retention of coin supercapacitor remained 80.1% after 1000 cycles.