Polyaniline stannic molybdate—an organic-inorganic composite material, was prepared via sol-gel mixing of organic polymer polyaniline into matrices of inorganic precipitate of stannicmolybdate. The composite material synthesized at pH 1.2 showed an ion exchange capacity 1.8 meq/g for Na+ ions. Ion exchange capacity, pH titration and distribution studies were carried out to determine the preliminary ion exchange properties of the material. The distribution studies showed the selectivity of Hg(II) ions by this material. The effect of temperature on the ion exchange capacity of the material at different temperatures had been studied. The sorption behavior of metal ions was also explored in different surfactant media.