A process for the elimination of arsenic from a hydrocarbon feed which is at least partially liquid at ambient temperature and at atmospheric pressure, comprising at least the following steps: a) bringing the hydrocarbon feed and hydrogen into contact with a first capture mass comprising a support and at least one metal M1 from group VIB and at least two metals M2 and M3 from group VIII, the molar ratio of the metals (M2+M3)/M1 being in the range 1 to 6, the quantity of metal M1 from group VIB in the oxide form being in the range 3% to 14% by weight with respect to the total weight of the first capture mass, the quantity of metal M2 from group VIII in the oxide form being in the range 1% to 20% by weight with respect to the total weight of the first capture mass and the quantity of metal M3 from group VIII in the oxide form being in the range 5% to 28% by weight with respect to the total weight of the first capture mass, in which the metal M1 is molybdenum, the metal M2 is cobalt and the metal M3 is nickel the contact of step a) being carried out at a temperature in the range 30°C to 400°C, at a pressure in the range 0.2 to 5 MPa, with an hourly space velocity with respect to the volume of the first capture mass in the range 4 to 50 h -1 and with a hydrogen flow rate in the range 2 to 800 litres per litre of feed; b) bringing the hydrocarbon feed and hydrogen into contact with a second capture mass in the sulphide form comprising a support and nickel, the quantity of nickel being at least 5% by weight of NiO with respect to the total weight of the second capture mass in the oxide form before sulphurization; the contact of step b) being carried out at a temperature in the range 30°C to 400°C, at a pressure in the range 0.2 to 5 MPa, with an hourly space velocity with respect to the volume of the second capture mass in the range 4 to 50 h -1 and with a hydrogen flow rate in the range 2 to 800 litres per litre; and in which step a) is either carried out before step b) or carried out simultaneously with step b). a) bringing the hydrocarbon feed and hydrogen into contact with a first capture mass comprising a support and at least one metal M1 from group VIB and at least two metals M2 and M3 from group VIII, the molar ratio of the metals (M2+M3)/M1 being in the range 1 to 6, the quantity of metal M1 from group VIB in the oxide form being in the range 3% to 14% by weight with respect to the total weight of the first capture mass, the quantity of metal M2 from group VIII in the oxide form being in the range 1% to 20% by weight with respect to the total weight of the first capture mass and the quantity of metal M3 from group VIII in the oxide form being in the range 5% to 28% by weight with respect to the total weight of the first capture mass, in which the metal M1 is molybdenum, the metal M2 is cobalt and the metal M3 is nickel the contact of step a) being carried out at a temperature in the range 30°C to 400°C, at a pressure in the range 0.2 to 5 MPa, with an hourly space velocity with respect to the volume of the first capture mass in the range 4 to 50 h -1 and with a hydrogen flow rate in the range 2 to 800 litres per litre of feed; b) bringing the hydrocarbon feed and hydrogen into contact with a second capture mass in the sulphide form comprising a support and nickel, the quantity of nickel being at least 5% by weight of NiO with respect to the total weight of the second capture mass in the oxide form before sulphurization; the contact of step b) being carried out at a temperature in the range 30°C to 400°C, at a pressure in the range 0.2 to 5 MPa, with an hourly space velocity with respect to the volume of the second capture mass in the range 4 to 50 h -1 and with a hydrogen flow rate in the range 2 to 800 litres per litre; and in which step a) is either carried out before step b) or carried out simultaneously with step b).