Preparation of zero-dimensional and one-dimensional nanostructures of polyaniline (PANI) were achieved by using swollen liquid crystals (SLCs) as 'soft' templates. The monomer (aniline) was first entrapped in SLCs by replacing the oil phase (cyclohexane) with a mixture of aniline and cyclohexane. Zero-dimensional nanostructures of PANI were obtained by thorough mixing of APS with the mesophases. One-dimensional nanostructures were prepared by allowing slow diffusion of APS through the mesophase. PANI nanostructures were extracted from the mesophase and were characterized by UV-visible spectroscopy, FTIR spectroscopy, powder X-ray diffraction, atomic force microscopy, scanning electron microscopy (SEM), and conductivity measurements. A plausible mechanism for the formation of the nanostructures has been proposed.Swollen liquid crystals (SLCs) are formed by a quaternary mixture of surfactant, co-surfactant, water, and oil. Depending upon the composition, cubic, hexagonal and lamellar phases may be formed in such a quaternary mixture. 18 These mesophases can be used as structure directing templates as they are