The ANK anchored protein family encodes the ANK domain, ANK family genes in plants are involved in regulating plant responses to biotic and abiotic stresses, with overexpression of ANK genes enhancing plant stress resistance. Based on the whole genome and transcriptome sequencing data of melon, the structures, phylogenetic relationship, genome localizations and expression profiles of 78 ankyrin repeat genes identified in melon (CmANK). Domain composition analysis showed that CmANK proteins formed 11 subfamilies. The phylogenetic tree analysis classified melon ANK members into 7 major subclusters, with 8 pairs of collinearity within the species and a linear relationship with 5 genes among Arabidopsis, rice and cucumber. The CmANK family genes are differentially expressed in different tissues and vary in expression under different stresses. The expression profiles analysis of melon ANK genes under biotic and abiotic stress conditions revealed that melon ANK gene, CmANK30, showed significant up-regulation of expression in response to all stresses, which meant this gene played an important role in stress response regulation.