The electronic and magnetic properties of Ag-doped Fe3O4 films were studied by x-rayabsorption near-edge structure (XANES), extended x-rayabsorption fine structure (EXAFS), and x-ray magnetic circular dichroism (XMCD) measurements. A comparison between the AgK K -edge EXAFS Fourier transform spectra of Ag-doped Fe3O4 and the Ag metal shows that Ag atoms aggregate into Ag granules. The O K K-edge and AgL3-edge XANES spectra consistently indicate an electron transfer from the Fe3O4 host into Ag granules. The Fe L3,2-edge XMCD spectra and hysteresis measurements reveal that Ag granules reduce the average magnetic moment of Fe ions and the saturation magnetization of Fe3O4.