Bacteria and phytoplankton are key players in aquatic ecosystem functioning. Their interactions mediate carbon transfer through the trophic web. Chemical contamination can alter the function and diversity of phytoplankton and bacterioplankton, with important consequences for ecosystem functioning. The aim of the present study was to assess the impact of chemical contamination on the interactions between both biological compartments. Two contrasting marine coastal ecosystems, offshore waters and lagoon waters, were exposed to chemical contamination (artificial or produced from resuspension of contaminated sediment) in microcosms in four seasons characterized by distinct phytoplankton communities. Offshore waters were characterized by a complex phytoplankton-bacterioplankton network with a predominance of positive interactions between both compartments, especially with Haptophyta, Cryptophyta, and dinoflagellates. In contrast, for lagoon waters, the phytoplankton-bacterioplankton network was simpler with a prevalence of negative interactions with Ochrophyta, Cryptophyta, and flagellates. Contamination with an artificial mix of pesticides and trace metal elements resulted in a decrease in the number of interactions between phytoplankton and bacterioplankton, especially for offshore waters. Resuspension of contaminated sediment also altered the interactions between both compartments. The release of nutrients stored in the sediment allowed the growth of nutrient limited phytoplankton species with marked consequences for the interactions with bacterioplankton, with a predominance of positive interactions, whereas in lagoon waters, negative interactions were mostly observed. Overall, this study showed that chemical contamination and sediment resuspension resulted in significant effects on phytoplankton-bacterioplankton interactions that can alter the functioning of anthropogenic coastal ecosystems.