57Chemosynthetic symbioses occur worldwide in marine habitats. However, physiological 58 studies of chemoautotrophic bacteria thriving on animals are scarce. Stilbonematinae are 59 coated by monocultures of thiotrophic Gammaproteobacteria. As these nematodes migrate 60 through the redox zone, their ectosymbionts experience varying oxygen concentrations. 61Here, by applying omics, Raman microspectroscopy and stable isotope labeling, we 62 investigated the effect of oxygen on the metabolism of Candidatus Thiosymbion oneisti. 63Unexpectedly, sulfur oxidation genes were upregulated in anoxic relative to oxic conditions, 64 but carbon fixation genes and incorporation of 13 C-labeled bicarbonate were not. Instead, 65several genes involved in carbon fixation, the assimilation of organic carbon and 66 polyhydroxyalkanoate (PHA) biosynthesis, as well as nitrogen fixation and urea utilization 67 were upregulated in oxic conditions. Furthermore, in the presence of oxygen, stress-related 68 genes were upregulated together with vitamin and cofactor biosynthesis genes likely 69 necessary to withstand its deleterious effects. 70Based on this first global physiological study of a chemosynthetic ectosymbiont, we 71propose that, in anoxic sediment, it proliferates by utilizing nitrate to oxidize reduced sulfur, 72whereas in superficial sediment it exploits aerobic respiration to facilitate assimilation of 73 carbon and nitrogen to survive oxidative stress. Both anaerobic sulfur oxidation and its 74 decoupling from carbon fixation represent unprecedented adaptations among 75 chemosynthetic symbionts. 76 77 intracorporeal thiotrophic bacteria, it is generally accepted that the endosymbiont's 85 chemosynthetic metabolism serves to provide organic carbon for feeding the animal host 86[reviewed in 1-3]. In addition, some chemosynthetic symbionts have been found capable to 87 fix atmospheric nitrogen, albeit symbiont-to-host transfer of fixed nitrogen remains unproven 88 [4, 5]. As for the rarer chemosynthetic bacterial-animal associations in which symbionts 89 colonize exterior surfaces (ectosymbionts), fixation of inorganic carbon and transfer of 90 organic carbon to the host has only been demonstrated for the microbial community 91 colonizing the gill chamber of the hydrothermal vent shrimp Rimicaris exoculata [6]. 92In this study, we focused on Candidatus Thiosymbion oneisti, a 93Gammaproteobacterium belonging to the basal family of Chromatiaceae (also known as 94 purple sulfur bacteria), which colonizes the surface of the marine nematode Laxus oneistus 95 (Stilbonematinae). Curiously, this group of free-living roundworms represents the only known 96 animals engaging in monospecific ectosymbioses, i.e. each nematode species is 97 ensheathed by a single Ca. Thiosymbion phylotype, and, in the case of Ca. T. oneisti, the 98 bacteria form a single layer on the cuticle of its host [7-11]. Moreover, the rod-shaped 99 representatives of this bacterial genus, including Ca. T. oneisti, divide by FtsZ-based 100 longitudinal fission, a unique ...