Mixing double-hydrophilic block copolymers containing a poly(vinylphosphonic acid) block with gadolinium ions in water leads to the spontaneous formation of polymeric nanoparticles. With an average diameter near 20 nm, the nanoparticles are stable after dilution or change of pH and ionic strength. High magnetic relaxivities were measured in vitro, and in vivo magnetic resonance imaging on rats demonstrates the high potential of such polymeric assemblies.