a b s t r a c tAu and Au-Pt alloy nanoparticles are prepared and patterned at room temperature within the PMMA polymer matrix by the action of 254 nm UV light or X-rays. The polymer matrix enables us to entangle the kinetics of the photochemical reduction from the nucleation and growth processes, when monitored by UV-vis spectroscopy. Accordingly, increase of the temperature to 50 C of the reaction medium increases the nucleation and growth rates of the nanoparticle formation by more than one order of magnitude, due to enhanced diffusion and nucleation at the higher temperature, but has no effect on the photochemical reduction process. Presence of Pt ions also increases the same rate, but by a factor two only. Similar photochemical reduction and particle growth take also place within the PMMA matrix, when these metal ions are subjected to prolonged exposure to X-rays, as evidenced by XPS analysis. Both angle-resolved and charge-contrast measurements using XPS reveal that the resultant Au and Pt species are in close proximity to each other, indicating the Au-Pt alloy formation to be the most likely case.