Even though repeat masking using custom designed libraries significantly improves the genome annotation and gene prediction, such libraries for palm trees are yet to be designed and made accessible to the researchers. In this study, a repeat library was designed and validated for use in coconut and related palm genomes. Coconut genome with chromosome-level assembly was used to design independent libraries for tall and dwarf ecotypes, which were subsequently merged. Efficiency of the combined