Dimethylsulphoniopropionate (DMSP) is a dimethylated sulphur compound that appears to be produced by most marine algae and is a major component of the marine sulphur cycle. The majority of research to date has focused on the production of DMSP and its major breakdown product, the climatically important gas dimethylsulphide (DMS) (collectively DMS/P), by phytoplankton in the open ocean. A number of functions for intracellular DMSP (DMSPi) in phytoplankton have been identified and the cycling of DMS/P appears to be critical for ecosystem function. However, mechanisms for the production and release of DMS/P in the coastal ocean are poorly understood, despite the region’s economic and ecological importance. Coralline algal habitats (e.g. maerl beds, coral reefs, seagrass meadows, kelp forests) are distributed throughout the coastal oceans worldwide. Their three-dimensional structure supports high biodiversity and provides numerous services, generating considerable economic wealth. DMSPi in coralline algae is known to be high, thus coralline algal habitats may be critical components of the coastal sulphur cycle. This research aimed to improve our understanding of the production of DMS/P by coralline algal habitats by investigating (1) natural spatiotemporal variation and (2) the influence of environmental pressures. This was achieved through a number of laboratory and field-based studies, utilising modern and well-established techniques. The first objective of this research was to better understand the photosynthesis of red coralline algae (Chapter 3), as the algal precursor to DMSPi is methionine, a product of photosynthesis. The photosynthetic characteristics of coralline algae exhibited acclimation to changing light conditions (e.g. over a diurnal cycle or between natural and static lighting conditions). Further, for the species tested, coralline algae are often subjected to light-saturating natural conditions, therefore requiring efficient photo-protective mechanisms, which may include DMSPi regulation. On a global scale, DMSPi in coralline algae may decline with latitude, reinforcing the role of DMSPi as an antioxidant (Chapter 4). At smaller spatial scales, DMS/P production, release and recycling mechanisms were apparent in a number of habitat types (Chapter 4). A strong seasonal trend in DMS/P was also observed at a Scottish maerl bed, driven by water temperature and cloud cover (Chapter 5). Annually averaged DMS and DMSP concentrations were 230% and 700% respectively higher than the open ocean, highlighting the potential importance of the coastal ocean in the marine sulphur cycle (Chapter 5). The influence of environmental pressures (decreased salinity, variable pH and grazing) on DMS/P production by coralline algal habitats was examined (Chapters 6 – 8). In agreement with the phytoplankton literature, a chronic, but not acute, reduction in salinity led to a significant decline in coralline algal DMSPi concentrations and a sinking of the surface epithelial cells but no apparent impact on photosynthesis (Chapter 6). In the naturally variable tropical reef environment, calcifying algae continually regulated DMSPi concentrations in response to the diurnal cycling of carbonate saturation state (Chapter 7), suggesting that DMSPi may be enhanced under low pH regimes to compensate for enhanced oxidant production. Under low pH conditions, cracks were observed between the surface epithelial cells of coralline algae, potentially allowing DMSPi to leak from the cells (Chapter 7). In the field, grazing by urchins appeared to facilitate the release of DMS/P from kelp in coralline algal habitats (Chapter 8). In the laboratory, DMSPi in coralline algae increased in response to chemical cues from grazers rather than direct grazing activity, as had been previously proposed. Prior to this research, little information was available on DMS/P concentrations in coralline algal habitats. The marine sulphur cycle may impact climate regulation and ecosystem function on a global scale. This research provides a comprehensive source of information on the importance of coralline algal habitats in the marine sulphur cycle by examining natural variability and potential changes in response to environmental perturbations. This work will form a baseline for continued research in this field, investigating, for example, the impact of multiple stressors on DMS/P production, release and recycling in coastal marine habitats.