The aim of the study was to determine the effect of carbetocin administration (a long-acting analog of oxytocin) 20 or 10 min before electroejaculation (EE) on the duration of semen collection procedure, quantitative and qualitative characteristics of the ejaculate, and stress biomarkers in rams. Semen was collected from 12 Corriedale rams (age, 2.5-5.5 years old) with EE, in a Latin-square design, administrating carbetocin (0.2 mg/100 kg of body weight i.v.) 20 or 10 min before EE, or without carbetocin administration (CB-20, CB-10, and CON treatments, respectively). Each treatment was applied to different rams every 3-4 days, allowing all the rams to receive all three treatments. Carbetocin administered 20 or 10 min before EE increased the number of sperm ejaculated (P = 0.01), the semen concentration (P = 0.02), the number of insemination doses collected in a single collection (P = 0.01), and the number of insemination doses collected/electrical pulses administered (P = 0.05) compared to control rams. Carbetocin administered 20 or 10 min before semen collection prolonged the time required for EE and the number of pulses administered during EE compared to CON rams (P < 0.03 for both). The CB-10 rams required the administration of more electrical pulses during ejaculation than CON rams (P = 0.001), and CB-20 treatment tended to require more electrical pulses than CON rams (P = 0.06). The volume of the ejaculate was greater in CB-10 than in CON rams (P = 0.01), and that of CB-20 treatment tended to be greater than CON rams (P = 0.08). The percentage of sperm with intact membrane was greater in CB-20 than in CON rams (P = 0.01). Total protein, albumin, and globulin concentrations were lower immediately after carbetocin administration 20 or 10 min before EE. The treatments did not affect cortisol concentration, glycemia, rectal and surface temperatures, heart rate, and facial expressions. Carbetocin administration before EE of rams improved the quantitative and qualitative characteristics of the ejaculate, duplicating the number of insemination doses collected. It can be a promising treatment to obtain a greater quantity of doses to inseminate with a lower frequency of semen collections, reducing the negative impacts of EE on animal welfare.