Automatic milking systems (AMS), also called milking robots, have become more common and in 2018 one third of all dairy cows in Sweden was milked in AMS. Advantages with AMS is that it improves the physical working environment, it allows for more flexible working hours and it collects individual data of milk production, milk quality and animal health. The milking robot works day and night, and it is common with one robot serving the total herd. Since downtime in the robot can result in reduced production and animal welfare, the system is more vulnerable compared to a manual milking system. Therefore, there is an alarm system connected to the milking robot that informs the farmer whenever there is a stoppage in the robot. Previous studies on work environment in AMS have shown that the farmers experienced that psychological work environment had deteriorated due to the need for constant readiness to solve any stoppage. Furthermore, they also experienced an overflow of information from the robot that made it hard to overview. The aim of this study was to investigate how Swedish farmers and service technicians experience stress related to alarms and data from the milking robot and how the stress is prevented. In this study, interviews were performed with farmers that had AMS (n=6), farmers that have had AMS but changed over to manual milking (n=3) and service technicians. Beside the interviews the farmers also filled a questionnaire where they graded the experience of stress. The results show that the farmers that had AMS experienced little stress related to alarm and data, while farmers that had given up AMS experienced more stress. The farmers experienced that stress related to alarms could partly be prevented by having a lower number of cows per AMS and by having access to more than one milking unit. Stress related to being on call could be prevented by having access to a network of persons that could relief the farmer from the alarm, especially if the farmer easily gets stressed, experience a high alarm frequency, or have great need of time off work in periods. Farmers that have had AMS experienced more stress related to data compared to farmers that had AMS. However, the interviews did not result in concrete solution in how to prevent stress. The service technicians were in general content with their work, but the on-call service was a negative part of the work. It takes long time to get into the job and it is therefore necessary to have a functioning system where more experienced colleagues can support the less experienced.