As an antiferromagnetic material, chalcopyrite CuFeS2 has both magnetic and semiconductor properties, which brings great prospects for the application of spintronics devices. Here, chalcopyrite CuFeS2 nanoplates were successfully synthesized through a template mediated method. The CuFeS2 exhibits a tetragonal phase while largely maintaining the hexagonal morphology of the CuS template, with particle sizes ranging between 90 and 120 nm. Specifically, the magnetic properties of CuFeS2 can be tuned by varying the Fe content. The strong room-temperature ferromagnetism is attributed to the coexistence of the ferromagnetic Fe7S8 and the antiferromagnetic CuFeS2, as well as to the unsaturated spin states of Fe on the surfaces of the nanoplates. Furthermore, the photoresponses of CuFeS2 nanoplates were confirmed by I-V measurements under dark and light illumination. The stable photoresponse capability is attributed to its semiconductor properties. This novel room-temperature ferromagnetism and photoelectric effect promotes the development of CuFeS2 nanoplates, and has great significance for the synthetic pathways of other ternary magnetic compounds.