Global agriculture has been forced to increase food production to feed the growing human population, while confronting various environmental obstacles such as global warming, resistance to pathogens, and constraints on arable land caused by soil salinity, drought, rising sea level, saltwater intrusion, and urbanization. Regarding abiotic stresses, salinity is a worldwide problem for agricultural production. Many efforts, therefore, have been made to cope with the environmental challenges, however, the progress of salinization, which is mainly caused and accelerated by anthropogenic activities, is likely faster than our progress in finding ways to deal with this problem. In addition, drought represents a global threat to the production of major crops. In addition, pests and pathogens cause significant crop losses and diminish global food security. Among the various strategies that have been investigated and applied in plant science, antimicrobial peptides derived from plants have caught widespread attention from scientists since these peptides exhibit beneficial biological activities. In agricultural science, there have been reports on the roles of antimicrobial peptides with active properties against biotic and abiotic stresses. Non-specific plant lipid transfer proteins, thionins, systemins, defensins, cyclotides, and heveins-like antimicrobial peptides are common antimicrobial peptides that have been found to be involved in the defense system against fungi and insect pests. Based on their potential ability to protect crops from pests, bacteria, and pathogenic fungi, the use of antimicrobial peptide genes in creating transgenic plants has been largely conducted during the last decades, and these studies have obtained positive results against the growth of fungi and bacteria. This review will focus on the latest progress in studies of antimicrobial peptides related to biotic and abiotic stress tolerance in plants. We will also update the current progress in the development of antimicrobial peptide-based transgenic crops.