As the global consumption of sugary and non-sugar sweetened beverages continues to rise, there is growing concern about their health impacts, particularly among pregnant women and their offspring. This study aimed to investigate the consumption patterns of various beverages among pregnant women in Shanghai and their potential health impacts on both mothers and offspring. We applied a multi-stage random sampling method to select participants from 16 districts in Shanghai. Each district was categorised into five zones. Two towns were randomly selected from each zone, and from each town, 30 pregnant women were randomly selected. Data were collected through face-to-face questionnaires. Follow-up data on births within a year after the survey were also obtained. The consumption rates of total beverages (TB), sugar-sweetened beverages (SSB), and non-sugar sweetened beverages (NSS) were 73.2%, 72.8%, and 13.5%, respectively. Logistic regression analysis showed that compared to non-consumers, pregnant women consuming TB three times or less per week had a 38.4% increased risk of gestational diabetes mellitus (GDM) (OR = 1.384; 95% CI: 1.129-1.696) and a 64.2% increased risk of gestational hypertension (GH) (OR = 1.642; 95% CI: 1.129-2.389). Those consuming TB four or more times per week faced a 154.3% higher risk of GDM (OR = 2.543; 95% CI: 2.064-3.314) and a 169.3% increased risk of GH (OR = 2.693; 95% CI: 1.773-4.091). Similar results were observed in the analysis of SSB. Regarding offspring health, compared to non-consumers, TB consumption four or more times per week was associated with a substantial increase in the risk of macrosomia (OR = 2.143; 95% CI: 1.304-3.522) and large for gestational age (LGA) (OR = 1.695; 95% CI: 1.219-2.356). In the analysis of NSS, with a significantly increased risk of macrosomia (OR = 6.581; 95% CI:2.796-13.824) and LGA (OR = 7.554; 95% CI: 3.372-16.921). The high level of beverage consumption among pregnant women in Shanghai needs attention. Excessive consumption of beverages increases the risk of GDM and GH, while excessive consumption of NSS possibly has a greater impact on offspring macrosomia and LGA.