Abstract. Sea ice formation dominates surface salt forcing in the southern Weddell Sea. Brine rejected in the process of sea ice production results in the production of High Salinity Shelf Water (HSSW) that feeds the global overturning circulation and fuels the basal melt of the adjacent ice shelf. The strongest sea ice production rates are found in coastal polynyas, where steady offshore winds promote divergent ice movement during the freezing season. We used the Finite Element Sea ice–ice shelf–Ocean Model (FESOM) forced by output from the regional atmospheric model COSMO-CLM (CCLM) with 14 km horizontal resolution to investigate the role of polynyas for the surface freshwater flux of the southern Weddell Sea (2002–2017). The presence of stationary icescape features (i.e., fast-ice areas and grounded icebergs) can influence the formation of polynyas and, therefore, impact sea ice production. The representation of the icescape in our model is included by prescribing the position, shape and temporal evolution of a largely immobile ice mélange formed between the Filchner–Ronne Ice Shelf (FRIS) and a major grounded iceberg based on satellite data. We find that 70 % of the ice produced on the continental shelf of the southern Weddell Sea is exported from the region. While coastal polynyas cover 2 % of the continental shelf area, sea ice production within the coastal polynyas accounts for 17 % of the overall annual sea ice production (1509 km3). The largest contributions come from the Ronne Ice Shelf and Brunt Ice Shelf polynyas and polynyas associated with the ice mélange. Furthermore, we investigate the sensitivity of the polynya-based ice production to the (i) representation of the icescape and (ii) regional atmospheric forcing. Although large-scale atmospheric fields determine the sea ice production outside polynyas, both the treatment of the icescape and the regional atmospheric forcing are important for the regional patterns of sea ice production in polynyas. The representation of the ice mélange is crucial for the simulation of polynyas westward/eastward of it, which are otherwise suppressed/overestimated. Compared to using ERA-Interim reanalysis as an atmospheric forcing data set, using CCLM output reduces polynya-based ice production over the eastern continental shelf due to weaker offshore winds, yielding a more realistic polynya representation. Our results show that the location and not just the strength of the sea ice production in polynyas is a relevant parameter in setting the properties of the HSSW produced on the continental shelf, which in turn affects the basal melting of the Filchner–Ronne Ice Shelf.