The genus Xylocopa Latreille, 1802 (Apidae: Xylocopini) Latreille includes efficient pollinating bees that visit a wide range of botanical species. Although several studies have investigated their interactions with plants in dune ecosystems, there is still a limited understanding of these bee communities in coastal environments. This study aimed to characterize the larval diet of Xylocopa (Neoxylocopa) cearensis Ducke, 1910 by analyzing pollen from their nests to assess the presence of specialization or generalization in relation to botanical species. The research was carried out in coastal sandbanks of the Delta do Parnaíba Environmental Protection Area, Tutóia, Maranhão-BR, over a 12-month period. The natural nests were inventoried by active searches and, when possible, transported to the Federal University of Maranhão. Pollen samples were collected from 19 brood cells of 12 nests in total. All the nests were found on branches of Anacardium occidentale L. Using the acetolysis method, 21 types of pollen were recognized, representing 14 botanical families. Three of those types of pollen were considered to be Frequent pollen, Mouriri cearensis Huber (35.44%), Chamaecrista ramosa (Vogel) H. S. Irwin & Barneby (32.80%) and Myrcia multiflora (Lam.) DC (27.05%). Based on these results, X. cearensis can be characterized as a polylectic species that demonstrates adaptability. These floral resources serve as essential protein sources for the nutrition of their brood, highlighting the importance of these plant species in supporting their reproductive success. This study provides useful information that can serve as a reference for future research on other Xylocopa species in similar ecosystems.