A vinyl‐modified anthraquinone (AQ) derivative (Vinyl‐AQ) is synthesized through a palladium‐mediated Suzuki coupling reaction between vinylphenylboronic acid and 2‐chloromethylanthraquinone and, subsequently, copolymerized with N,N‐dimethylacrylamide (DMAM) through free radical copolymerization in organic solvent. The chemical structure of the resulting water‐soluble copolymer, P(DMAM‐co‐AQ), is verified using techniques such as proton nuclear magnetic resonance, attenuated total reflection‐infrared spectroscopy, thermogravimetric analysis, and UV–vis spectroscopy. The evolution of the oxygen scavenging abilities of aqueous P(DMAM‐co‐AQ) solutions after UV irradiation is monitored as a function of UV irradiation time, concentration of AQ moieties, and pH. The copolymer is proved an effective UV‐triggered oxygen scavenger, leading to dissolved oxygen contents below 1 ppm for the optimized experimental conditions. This behavior is related with the appearance of novel chemical species with interesting optical properties, as suggested by the respective evolution of the UV–vis absorption and photoluminescence spectra after UV irradiation.