Herein Ce1−xFexO2−δ nanocomposites were investigated for dilute magnetic semiconductor (DMS) properties. Ce1−xFexO2−δ nanospheres and porous nanostructures with high surface areas have been successfully prepared by electrochemical deposition at room temperature and atmospheric pressure. The structures and morphologies of Ce1−xFexO2−δ deposits were characterized by X-ray diffraction (XRD), scanning electron microscopy (SEM), transmission electron microscopy (TEM), and N2 adsorption–desorption techniques. The magnetic properties of the prepared Ce1−xFexO2−δ nanospheres and porous nanostructures were studied, and they showed room-temperature ferromagnetism and giant magnetic moments. In addition, the effects of morphologies and compositions on the magnetic properties of Ce1−xFexO2−δ deposits were studied.