The Namib Desert is a hyperarid coastal desert where fog is a major moisture source. We hypothesized that the fog-harvesting grass Stipagrostis sabulicola establishes an important ecological niche, termed the "Fog-Plant-Oases" (FPOs), and serves as the primary carbon source for the invertebrate community. To determine this, we measured the natural variations of the stable carbon and nitrogen isotopes (δ13C and δ15N) of invertebrates as well as that of plant biomass and belowground detritus and estimated the contributions of the fog plants in their diets. Our findings revealed a complex trophic structure and demonstrated that S. sabulicola fuels carbon flow from lower to higher trophic levels in the aboveground food web. The distinct δ13C values of bacterial- and fungal-feeding nematodes indicated however the separation of the aboveground niche, which is primarily sustained by S. sabulicola, from the belowground niche, where wind-blown sediments may serve as the main energy source for the soil biota. Our findings further accentuate the critical role of S. sabulicola FPOs in establishing complex trophic dynamics and a distinctive food web within the hyperarid Namib dunes.