Sediment samples from a marine cave in the Murcia region (eastern Spain) were analysed for grain size, total benthic foraminiferaand dead brachiopoda to obtain environmental information through physical and ecological data in order to understandthe benthic communities of cave environments and their ecological significance. A total of 100 foraminiferal and 7 brachiopodspecies were classified, highlighting the first occurrence in the western Mediterranean of Gwynia capsula (Jeffreys, 1859). Statistical analysis applied to foraminiferal data allowed the identification of three assemblages characterised by decreasing species diversity along the cave. This corresponded to a similar separation recognisable through changes in brachiopod species abundance and well-correlated with cave morphology. The relative abundance of epifaunal clinging-attached foraminifera as well as the rate of cave and sciaphilic/coralligenous Brachiopoda, thought to be representative of the degree of separation from marine conditions,were found to be highly correlated, increasing towards the inner cave. Our hypothesis was that despite the different lifestyles ofthese two groups, the strict correlation of environmental factors (i.e. light, nutrients, sediment texture, water parameters) changingalong the length of the cave determines a comprehensive environmental gradient, causing an increase in environmental stress that has similar effects on the different taxonomic groups.