Women contribute decisively to the economy and have an important participation in agricultural exploitation in the world, providing their labor. But if they had better access to technology and training in a more equitable way, they could contribute much more. In effect, the rapid technological changes that have occurred in the sector pose an even greater challenge to achieve equalizing the role of women to that of men in the agri-food sector. The limitation of the female gender to training and empowerment prevents them from taking advantage of the technology that are contributing to the achievement of a world free of hunger and malnutrition, which is one of the sustainable development goals (SDG). Therefore, this work analyzes the world situation in terms of training and gender gaps to see if these elements affect the achievement of four of the sustainable development goals (SDG 2, 4, 5 10) in 87 countries. The results of the multiple linear regression show the existence of a positive relationship between these elements is demonstrated. Then, as a real example, Spain is chosen as a country reference and analyzed in terms of training by gender, digital gender gap and labor gap. Finally, some advice and recommendations that allow the achievement of the inclusion of women in the improvement of the countries are suggested.