The invention relates to a device (1, 21) for artificially inseminating a mammal with sperm from a male breeding animal, the sperm being introduced through the vagina of the animal into or onto the uterus of the animal which is to be inseminated. The device (1, 21) comprises a tube (2) which can be moved on the uterus through the vagina of the animal which is to be inseminated, and a heatable chamber (6) for accommodating a thin tube (7) containing the sperm, and a drive (13) by means of which the sperm can be removed from the thin tube (7) and the uterus-sided opening of the tube (2). The device (1, 21) comprises a mechanism enabling the thin tube (7) to be moved out from the chamber (6) into the tube (2).