Magnetic nanoparticles were prepared from gum Arabic (GA), 2-hydroxyethylmethacrylate (HEMA) copolymer hydrogel using gamma irradiation. Factors affecting the preparation of (GA/HEMA) copolymer hydrogel and the magnetic nanocomposite of (GA/HEMA)-(Fe 3 O 4), such as irradiation dose, copolymer composition, copolymer concentration and magnetite concentration, were investigated. The swelling property of the prepared hydrogels was studied and the results showed that the swelling percent increases with increasing PH and reaches equilibrium swelling after 6 h. The obtained hydrogel and its magnetic nanocomposites were characterized using Fourier Transform Infrared Spectroscopy (FTIR), thermogravimetric analysis (TGA), Scanning Electron Microscopy (SEM) and Transmission electron microscope (TEM). The presence of Fe 3 O 4 inside the GA/HEMA-Fe 3 O 4 nanocomposites was confirmed by X-ray diffraction (XRD) and energy dispersive X-ray spectroscopy (EDX). The magnetic properties were characterized by Vibrating sample magnetometer (VSM). Finally, the drug loading and in vitro release properties of the (GA/HEMA) copolymer hydrogel and its magnetic nanocomposites were also evaluated using endoxan as an anticancer drug model. The results showed that the optimum endoxan drug release was 97% from (GA/HEMA)-(Fe 3 O 4) nanocomposite during 210 min. It could be concluded that (GA/HEMA)-(Fe 3 O 4) nanocomposite could be used for localized drug delivery for the endoxan drug in a neutral environment of the intestine.