Key messageWe explored the phylogenomics and methylomics ofNLRgenes in 41 plant species and found that highly duplicated plantNLRgenes are hyper methylated in non-CG context.Supplementary InformationThe online version contains supplementary material available at 10.1007/s00299-023-03018-5.