The common cockle (Cerastoderma edule) plays an important role in marine ecosystems and represents a valuable socioeconomic resource for coastal communities. In 2012, the cockle beds from Rı́a de Arousa (Galicia, NW Spain) were seriously decimated by the protozoan Marteilia cochillia responsible for marteiliosis. We aimed to identify single nucleotide polymorphisms (SNP) markers potentially associated with resilience to marteiliosis to be used in marker-assisted selection programs for restoring affected cockle beds and recovering their production. For this, we carried out a population genomics approach using 2b-RADseq, where 38 naive samples (before the first detection of M. cochillia in 2012) from two beds of Rı́a de Arousa were compared with 39 affected samples collected in 2018/2019 (after several years of marteiliosis occurring in the area), collected either before (15 non-exposed samples) or during (24 exposed samples) the marteiliosis outbreak. Additionally, 767 differentially expressed genes (DEG) from a previous transcriptomic study addressed during the aforementioned 2018/19 marteiliosis outbreak, were evaluated to identify SNPs showing signals of selection. Using 2b-RADseq, 9,154 SNPs were genotyped and among them, 110 consistent outliers for divergent selection were identified. This set of SNPs was able to discriminate the samples according to their marteiliosis status (naive vs affected; exposed vs non-exposed), while another 123 SNPs were identified linked to DEGs associated with the level of infection across a temporal series. Finally, combining the population genomics and transcriptomics information, we selected the 60 most reliable SNPs associated with marteiliosis resilience. These SNPs were close to or within DEGs, and many of them were related to immune response (phagocytosis and cell adhesion), defence, such as apoptosis, stress, and cellular cycle, among other functions. This set of SNPs will eventually be validated to develop a cost-effective genotyping tool for their application for obtaining cockle-resilient strains for marteiliosis.