Photocatalytic degradation of methyl orange (MO) as a model of an organic pollution was accomplished with magnetic and porous TiO2/ZnO/Fe3O4/PANI and ZnO/Fe3O4/PANI nanocomposites under visible light irradiation. The structures of nanocomposites were characterized by various techniques including UV–Vis absorption spectroscopy, XRD, SEM, EDS, BET and TGA. Optical absorption investigations show two λmax at 450 and 590 nm for TiO2/ZnO/Fe3O4/PANI nanocomposites respectively possessing optical band gaps about 2.75 and 2.1 eV smaller than that of the neat TiO2 and ZnO nanoparticles. Due to these optical absorptions, the nanocomposites can be considered promising candidates as visible light photocatalysts to produce more electron-hole pairs. The degradation of MO, extremely increased using polymeric photocatalysts and decolorization in the presence of visible light achieved up to 90% in less than 20 min in comparison with the neat nanoparticles (about 10%). All these advantages promise a bright future for these composites as useful photocatalysts. The degradation efficiency of MO using stable nanocomposites was still over 70% after ten times reusing. The highest decolorizing efficiencies were achieved with 0.75 g L−1 of catalyst and 10 mg L−1 of MO at natural pH under visible light irradiation in less than 20 min.