The Pangandaran coast, recognized for its diverse substrates, is a popular destination for marine tourism. The characteristics of the substrate and the activities linked to tourism can significantly influence aquatic organism communities. The present study investigated the biodiversity and distribution of marine macroinvertebrate in the ecotourism coastal of Pangandaran, Indonesia. Marine macroinvertebrates investigation was conducted using survey method with a quadrant transect from low to high tide in eight intertidal zone of Pangandaran coastline. Pangandaran coastline hosts 160 marine macroinvertebrate species divided into thirteen classes and seven phyla. The mollusk phylum exhibits the greatest diversity with 99 species, whereas Cnidaria follows with 8 species. The distribution pattern of marine invertebrates in the Pangandaran coast is categorized into four clusters: the rocky ecosystem (Karapyak, Pasir Putih, and Madasari), the muddy ecosystem (Nusawiru and Muara Cijulang), the sandy ecosystem (Pantai Barat), and the craggy ecosystem (Karang Nini and Batu Hiu). In the intertidal zone of rocky substrates (3.99–5.08), there were more diversity of marine macroinvertebrates than on muddy, sandy, and craggy surfaces (0.65-2.16, 0.65, and 0.50-0.80, respectively). Cerithium breviculum, Thais jubilaea, and Anthopleura elegantissima predominated the rocky ground. Faunus ater, Terebia sp., and Clithon oualaniensis predominated the muddy ground. Conversely, the sand substrate contained solely the gastropod Hastula bacillus. Concurrently, Clibanarius vittatus, a worldwide crustacean species, flourishes across various substrate types, demonstrating a density of 69 to 15 ind.m-2. The analysis of geographical distribution indicates that substrate type and tourism activity significantly influence the distribution of invertebrates in the Pangandaran coastal area.