Polyaniline/TiO2 nanocomposites have been prepared by sol-gel technique using citric acid and saturated solution of α-dextrose as a surfactant in presence of hydroxyl group at an anomeric position in sugar chain. The FTIR spectrum indicates the benzenoid, quinoid and MO peaks confirm the formation of PANI/TiO2 nanocomposites. The XRD studies show the monoclinic structure and the TEM study of nano TiO2 reveals that the average particles size is 9 ±2 nm whereas the composite size is 13 ± 2 nm and further it is observed that the TiO2 nanoparticles are intercalated to form a core shell of PANI. The formation of core shell is significant up to 30wt% observed from the SEM. The TGA-DSC curves show the thermal stability of polyaniline and its nanocomposites at 660 °C of temperature.