Abstract In parts of the Baltic Sea, the phytoplankton spring bloom communities, commonly dominated by diatoms, are shifting toward the co‐occurrence of diatoms and dinoflagellates. Although phytoplankton are known to shape the composition and function of associated bacterioplankton communities, the potential bacterial responses to such a decrease of diatoms are unknown. Here we explored the changes in bacterial communities and heterotrophic production during the spring bloom in four consecutive spring blooms across several sub‐basins of the Baltic Sea and related them to changes in environmental variables and in phytoplankton community structure. The taxonomic structure of bacterioplankton assemblages was partially explained by salinity and temperature but also linked to the phytoplankton community. Higher carbon biomass of the diatoms Achnanthes taeniata , Skeletonema marinoi , Thalassiosira levanderi , and Chaetoceros spp. was associated with more diverse bacterial communities dominated by copiotrophic bacteria (Flavobacteriia, Gammaproteobacteria, and Betaproteobacteria) and higher bacterial production. During dinoflagellate dominance, bacterial production was low and bacterial communities were dominated by Alphaproteobacteria, mainly SAR11. Our results suggest that increases in dinoflagellate abundance during the spring bloom will largely affect the structuring and functioning of the associated bacterial communities. This could decrease pelagic remineralization of organic matter and possibly affect the bacterial grazers communities.