Rare earth elements (REEs, lanthanide group La-Lu, including Y) are essential for development of renewable and advanced technologies necessary for transition to net-zero carbon by 2050. Recent studies (Emsbo et al., 2015; Valetich et al., 2022) of phosphorites, a marine sedimentary rock with over 18-20 wt.% P2O5 currently mined as phosphate fertiliser, have identified them as a potential source of REEs. The primary mineral of phosphorite, carbonate fluorapatite (CFA), hosts the majority of the REEs that, along with the ease of extraction of REEs from CFA as a by-product of phosphate mining, makes phosphorites an attractive economic target. However, not all phosphorites are enriched in REEs, thus understanding the factors that control REE distribution and enrichment in these rocks is essential for informing exploration campaigns. Here we use a combination of isotopic (Sm-Nd and Sr) and geochemical (whole rock REE) methods to elucidate the origin of REEs in marine phosphorites. We find that underlying basement composition and phosphorite textures (pelletal vs. non-pelletal) play a major role in the enrichment of REEs in phosphorites.