The invention relates to a method for treating a surface of a device for dispensing a fluid product said method including a step of modifying by ion implantation using beams of ions having multiple charge states and multiple energy states at least one surface to be treated of at least one portion of said device which is in contact with said fluid product said modified surface to be treated having anti adhesive properties for said fluid product said ions having multiple charge states being selected from among those of helium (He) nitrogen (N) oxygen (O) neon (Ne) argon (AR) krypton (Kr) and xenon (Xe) and the ion implantation being carried out at a depth of 0 to 3 µm.