This paper reports on the synthesis and application of Fe3O4/TiO2 nanocomposite. In situ attachment of TiO2 coating to the surface of the magnetic nanoparticles (Fe3O4) was attained by direct condensation of titanium precursors. Characterization result suggests that the average particle size of the synthesized nanocomposite is 10-15 nm. Also, FT-IR result confirms the presence of TiO2 layer in the surface of the magnetic nanoparticles. Furthermore, the prepared Fe3O4/TiO2 nanocomposite was utilized as an active magnetic nanophotocatalyst for the degradation of cyanide. Results show that even at 5.0 mg of Fe3O4/TiO2 photocatalyst, higher cyanide removal efficiency (91%) was obtained when 60 ppm CN- was incubated with the photocatalyst for 30 minutes. Likewise, it has been demonstrated that the synthesized magnetic nanophotocatalyst can be used to degrade cyanide using sunlight as the natural light source. A 94% cyanide removal efficiency was obtained when the sample was incubated with the synthesized magnetic nanophotocatalyst for 120 minutes under sunlight irradiation. Importantly, the prepared magnetic photocatalyst can be re-used several times (up to 5 cycles) without significant changes in the cyanide removal efficiency.