Introduction

SARS-CoV-2 infection in pregnancy is associated with severe COVID-19 symptoms, and adverse maternal and perinatal outcomes1,2, yet low levels of COVID-19 vaccination uptake in pregnant women persist in many settings3,4,5. Among the barriers affecting COVID-19 vaccine uptake in pregnancy are concerns around vaccine safety6,7. There is evidence of the safety of COVID-19 vaccination in pregnancy with respect to perinatal outcomes such as stillbirth and early pregnancy outcomes such as miscarriage8,9. However, there is very limited evidence on associations between either COVID-19 vaccination or SARS-CoV-2 infection in early pregnancy and the risk of congenital anomalies.

The few studies that have been published to date on the association between COVID-19 vaccination and the risk of congenital anomalies have found no evidence of an association10,11,12,13,14,15, but these all had important methodological weaknesses. Only two of these studies, for example, restricted the exposure to vaccination in the first trimester11,14 when the baby’s organs develop and hence the key risk period for teratogen exposure16. Furthermore, none of the studies comprehensively captured congenital anomalies, either only documenting anomalies identified on ultrasound or only looking at live births (+/− stillbirths) thus excluding terminations of pregnancy for anomalies, which are known to account for a large number of all major congenital anomalies in Europe17. The evidence on any association between maternal SARS-CoV-2 infection and offspring risk of congenital anomalies is also very sparse. The few published studies have shown no evidence of an association18,19,20, although they have similar methodological limitations to those looking at the impact of COVID-19 vaccination. By contrast, certain other viral infections in early pregnancy (e.g., rubella and Zika) are well-recognised causes of specific anomaly syndromes17,21. Fever associated with infections, and medicines used to treat infections, could also be associated with anomaly risk17.

Maximizing COVID-19 vaccine uptake among women that are pregnant or planning to become pregnant requires that they and their healthcare providers have access to key information on the safety of these vaccines, as well as the potential harms from SARS-CoV-2 infection, to inform their decision-making. Given the paucity of high-quality data on the risk of congenital anomalies with COVID-19 vaccine and SARS-CoV-2 infection, we conducted a national, population-based, matched cohort study using data for all residents in Scotland from the COVID-19 in Pregnancy in Scotland (COPS) cohort22,23. We estimated the association between any COVID-19 vaccination and, separately, a confirmed SARS-CoV-2 infection between six weeks pre-conception and 19 weeks and six days (19 + 6) gestation and the risk of any major congenital anomaly (hereafter “any anomaly”) and the risk of any non-genetic major congenital anomaly (i.e., an anomaly with no known genetic basis, hereafter “non-genetic anomaly”).

Results

Association between COVID-19 vaccination and major congenital anomalies: primary analyses

The study dataset included 581,370 fetuses/babies (hereafter ‘babies’) resulting from all clinically recognized pregnancies in Scotland ending at any gestation and in any outcome (i.e., miscarriage, termination of pregnancy, stillbirth or live birth) from 2015 onwards. For the COVID-19 vaccination analyses, we identified 53,914 babies in the study vaccine exposure period (less than 19 + 6 gestation at, or conceived subsequent to, the start of the COVID-19 vaccination program on December 8, 2020) who had adequate follow-up time (Fig. 1). Of these 53,914 babies, 8785 had mothers who were vaccinated between six weeks preconception and 19 + 6 gestation (or the end of pregnancy if earlier). We excluded 270 babies where the mother also had SARS-CoV-2 infection in this pregnancy exposure period and 1784 babies where the pregnancy ended before 12 weeks gestation (as anomalies were not ascertained in early miscarriages or in the majority of early terminations of pregnancy), leaving a total of 6731 babies in our vaccinated cohort. These were matched (1:3) to 20,193 unvaccinated control babies (whose mothers were not vaccinated or infected in the relevant exposure period, and from pregnancies reaching at least 12 weeks gestation) on maternal age at conception and ensuring that the controls had reached at least the gestational week at which the mother was vaccinated.

Fig. 1: Selection of babies for the study.
figure 1

A shows the selection of babies for the analysis of association between COVID-19 vaccination and risk of major congenital anomalies. B shows the selection of babies for the analysis of the association between SARS-CoV-2 infection and risk of major congenital anomalies *Exposure needs to be between 6 weeks preconception and up to the earliest of: (1) end of pregnancy or (2) 19 weeks 6 days gestation.

Compared with matched babies of unvaccinated mothers, babies of vaccinated mothers were more likely to be born to mothers who were from the least deprived areas, did not smoke, and who had pre-existing medical conditions (Table 1). Of the 6731 babies of vaccinated mothers, 153 (22.7 per 1000 babies) had any anomaly identified. In 120 babies (17.8 per 1000), their anomaly had no known genetic basis. Of the 20,193 babies of unvaccinated mothers, 467 (23.1 per 1000) had any anomaly, and 375 (18.6 per 1000) had a non-genetic anomaly. The distribution of types of anomalies seen in the vaccinated and control cohorts were similar (Table 2).

Table 1 Key sociodemographic and clinical characteristics of vaccinated and control groups
Table 2 Descriptive information on vaccination (vaccinated group only) and on the risk and types of major congenital anomalies in the vaccinated and controls groups

There was no evidence for an association between COVID-19 vaccination and any anomaly in analyses that only included matching factors (maternal age at conception and gestational week at matching) in the model (Odds Ratio [OR] = 0.98, 95% Confidence Interval [CI] 0.82–1.18) or which adjusted for all socio-demographic and clinical covariates (adjusted OR [aOR] = 1.01, 95% CI 0.83–1.24) (Table 3). Similarly, there was no evidence for an association between vaccination and non-genetic anomalies when accounting for the matching factors (OR = 0.96, 95% CI 0.78–1.18) or when additionally adjusting for the socio-demographic and clinical covariates (aOR = 1.00, 95% CI 0.81–1.22) (Table 3).

Table 3 Odds ratios for the association between COVID-19 vaccination and major congenital anomalies among babies reaching at least 12 weeks gestation, calculated using conditional logistic regression models

Association between COVID-19 vaccination and major congenital anomalies: sensitivity and subgroup analyses

Results were similar in analyses including babies from pregnancies of any duration (not just those reaching at least 12 weeks gestation) (Supplementary Table 1). When we restricted our vaccinated cohort to babies whose mothers were vaccinated in the key teratogenic risk window of conception (at 2 + 0 gestation) to 9 + 6 gestation inclusive, we again found no evidence of an association between vaccination and risk of anomalies: our adjusted OR for the association between vaccination and any anomaly was 0.76 (95% CI 0.52–1.10) and non-genetic anomalies was 0.66 (95% CI 0.43–1.02) (Supplementary Table 1).

The mothers vaccinated in the pregnancy exposure period mostly received an mRNA vaccine (73.7% Pfizer-BioNTech BNT162b2 and 7.9% Moderna mRNA-1273), 18.2% were exposed to the viral vector Oxford-AstraZeneca ChAdOx1-s/nCoV-19 vaccine, and 0.2% were exposed to more than one vaccine type (Table 2). Women receiving mRNA and viral vector vaccines had substantially different characteristics, reflecting the roll out of the vaccination programme in Scotland (Supplementary Table 2; Supplementary Fig. 1). Compared to women receiving an mRNA vaccine, and to their matched controls, women receiving the viral vector ChAdOx1-s/nCoV-19 vaccine were more likely to be from deprived areas, to smoke, to be overweight or obese, and much more likely to have pre-existing medical conditions. After accounting for the matching factors and adjusting for covariates, there was no evidence of an association between mRNA vaccination and any anomaly (aOR = 0.92, 95% CI 0.73–1.14) or non-genetic anomalies (aOR = 0.85, 95% CI 0.66–1.10) (Supplementary Table 3). After accounting for the matching factors and adjusting for covariates, the adjusted OR estimating the association between ChAdOx1-s/nCoV-19 vaccination and any anomaly was 1.35 (95% CI 0.90–2.03), and non-genetic anomalies was 1.56 (95% CI 0.97–2.51). Point estimates for these associations were therefore raised, but with wide confidence intervals spanning one (Supplementary Table 3).

Association between SARS-CoV-2 infection and major congenital anomalies: primary analyses

We identified 90,938 babies whose mothers could have had confirmed infection with SARS-CoV-2 in the relevant exposure period (less than 19 + 6 gestation at, or conceived subsequent to, the introduction of widespread community testing for SARS-CoV-2 on May 18, 2020) and who had adequate follow up time available (Fig. 1). There were 1574 babies from pregnancies that reached at least 12 weeks gestation whose mother had confirmed SARS-CoV-2 infection between six weeks preconception and 19 + 6 gestation (but did not have COVID-19 vaccination in this pregnancy exposure period) and were included in the infected cohort. These were matched (1:3) to 4722 control babies who were not exposed to SARS-CoV-2 infection (or COVID-19 vaccination) in the pregnancy exposure period on maternal age at conception, gestational week of infection and, given the longer study period of widespread testing compared with the vaccination period, additionally for season of conception.

Compared with matched babies of uninfected mothers, the babies exposed to confirmed SARS-CoV-2 infection were more likely to be born to mothers who were from the most deprived areas and from urban areas (Table 4). Of the 1574 babies exposed to confirmed SARS-CoV-2, 32 (20.3 per 1000 babies) had any anomaly and 26 (16.5 per 1000) had a non-genetic anomaly (Table 5). Of the 4722 babies not exposed to confirmed SARS-CoV-2 infection, 85 (18.0 per 1000) had any anomaly and 71 (15.0 per 1000) had a non-genetic anomaly.

Table 4 Key sociodemographic and clinical characteristics of infected and control groups
Table 5 Descriptive information on infection exposure (infected group only) and on the risk and types of major congenital anomalies in the infected and controls groups

There was no evidence for an association between SARS-CoV-2 infection and any anomaly in analyses including matching factors (OR = 1.13, 95% CI 0.75–1.70) or when additionally adjusting for all socio-demographic and clinical covariates (aOR = 1.02, 95% CI 0.66–1.60) (Table 6). Similarly, there was no evidence for an association between SARS-CoV-2 infection and non-genetic anomalies when accounting for the matching factors (OR = 1.10, 95% CI 0.70–1.73) or when also adjusting for the socio-demographic and clinical covariates (aOR = 0.94, 95% CI 0.57–1.54) (Table 6).

Table 6 Odds ratios for the association between SARS-CoV-2 infection and major congenital anomalies among babies reaching at least 12 weeks gestation, calculated using conditional logistic regression models

Association between SARS-CoV-2 infection and major congenital anomalies: sensitivity analyses

Results were similar in sensitivity analysis including babies from pregnancies of any duration (not just those reaching at least 12 weeks gestation) (Supplementary Table 4). When we restricted our infected cohort to babies whose mothers were infected between conception and 9 + 6 gestation inclusive, our adjusted OR for the association between SARS-CoV-2 infection and any anomaly was 1.14 (95% CI 0.57–2.29) and non-genetic anomalies was 1.05 (95% CI 0.47–2.34) (Supplementary Table 4).

Discussion

In this national, population-based, matched cohort study in Scotland, we find no evidence in our primary analyses that maternal exposure to any COVID-19 vaccination between six weeks pre-conception and 19 + 6 weeks gestation was associated with an increased risk of either any anomaly or non-genetic anomalies among babies that reached at least 12 weeks gestation. Similarly, there was no evidence of an association between maternal exposure to confirmed SARS-CoV-2 infection in this period and any anomaly or non-genetic anomalies. These results were robust in sensitivity analyses including all babies (not just those reaching 12 weeks gestation).

There remained no evidence for an elevated risk of any anomaly when we narrowed the exposure window to the key teratogenic risk period of between conception and 9 + 6 weeks gestation. The association between maternal infection in this narrower risk window and non-genetic anomalies was essentially unchanged. By contrast, maternal vaccination in this narrower risk window was associated with a slightly lower risk of non-genetic anomalies. Confidence intervals were wide due to relatively small numbers of babies exposed to maternal vaccination in the narrow window. It is plausible, however, that this reflects a particularly strong “healthy vaccinee bias”24 with women who were motivated to get COVID-19 vaccination in this early stage of pregnancy different in their health and/or health-related behaviours compared to their unvaccinated controls. The healthy vaccinee bias may also affect our other vaccination analyses, although we have adjusted for a number of maternal characteristics that should account for this to a certain extent (e.g., maternal deprivation, BMI and smoking status).

This lack of association between vaccination in pregnancy and the risk of anomalies in babies aligns with existing evidence from a vaccine adverse event reporting system in the US10,25, facility-based studies comparing outcomes in vaccinated and unvaccinated pregnancies in the UK and the US13,14, as well as self-reported data on vaccination status and fetal anomaly identified at ultrasound from an online survey12. The most robust evidence published previously is a population-based cohort study from Israel conducted by Goldshtein and colleagues11. They found no evidence that singleton, live births to women who were vaccinated in the first trimester had a higher risk of congenital anomalies compared with those not exposed to vaccination in pregnancy (Risk Ratio = 0.69, 95% CI = 0.44–1.04).

All the studies published to-date either only included pregnancies exposed to mRNA vaccinations or looked at all vaccines overall and did not stratify by vaccine type. We conducted pre-planned subgroup analysis by the type of vaccination (mRNA or viral-vector). The majority of mothers vaccinated in the pregnancy exposure period received an mRNA vaccine (81.6%), and we found no evidence for an association between mRNA vaccination and either any anomaly or non-genetic anomalies. However, while the confidence intervals are wide, we cannot rule out a modest increase in the risk of any anomaly (aOR = 1.35, 95% CI 0.90–2.03) or non-genetic anomalies (aOR = 1.56, 95% CI 0.97–2.51) with the viral-vector vaccination (Oxford-AstraZeneca ChAdOx1-s/nCoV-19). We urge caution in the interpretation of these results for two main reasons. Firstly, there was a relatively small sample size of babies whose mother received ChAdOx1-s/nCoV-19 in the pregnancy exposure period and consequently we have wide confidence intervals. Secondly, there is potential for residual confounding, with mothers of babies exposed to this vaccine having quite different characteristics compared to both their unvaccinated controls and those of babies exposed to the mRNA vaccine. These differences reflect the roll out of the vaccination programme in Scotland. The Pfizer/BioNTech BNT162b2 vaccine was used from the start of the vaccination programme on December 8, 2020. The Oxford-AstraZeneca ChAdOx1-s/nCoV-19 vaccine was introduced from January 4, 2021, and the Moderna mRNA-1273 vaccine from April 7, 2021. In the early months of the vaccine programme, BNT162b2 was mainly offered to health and social care workers at high risk of occupational exposure to SARS-CoV-2 (as these groups could be vaccinated in centralised facilities that could accommodate the ultra-cold storage requirements for this vaccine), and ChAdOx1-s/nCoV-19 was offered to individuals at risk of severe COVID-19 disease due to pre-existing medical conditions (often vaccinated in local General Practitioner surgeries). In mid-April 2021, prior to vaccination being rolled out to all younger adults (without pre-existing conditions) including pregnant women, the UK’s Joint Committee on Vaccination and Immunisation (JCVI) recommended that pregnant women commencing a course of vaccination from that point on should be offered an mRNA vaccine rather than ChAdOx1-s/nCoV-19. This reflected accumulating evidence on the safety of mRNA vaccines in pregnancy following their extensive use in the US rather than any specific concern about the use of viral vector vaccines in pregnancy26. The pregnant women in our study receiving ChAdOx1-s/nCoV-19 will therefore mainly be those identified as clinically vulnerable due to pre-existing medical conditions: this group will be at increased risk of a range of adverse pregnancy outcomes, including anomalies. It is therefore reassuring that, whilst the risk of anomalies was slightly elevated in babies from this group, the distribution of types of anomalies seen was similar to that in controls. The distribution was also in line with expectations based on whole population data from Scotland in 2019 which showed that the most common types of major congenital anomalies were congenital heart defects, nervous system, limb and/or chromosomal congenital anomalies, with ear, face, neck, eye, respiratory and abdominal wall defects the rarest anomalies27. Nevertheless, data from settings with a different profile of women receiving ChAdOx1-s/nCoV-19 would be beneficial in confirming the safety profile of this vaccine.

Our study also adds to a growing body of epidemiological evidence that maternal SARS-CoV-2 infection is not associated with the risk of congenital anomalies18,19,20. We recognise that we may have misclassified some mothers who actually had SARS-CoV-2 infection as uninfected if they did not have a positive SARS-CoV-2 reverse transcription (RT) polymerase chain reaction (PCR) test result. To minimise the number of missed infections, we restricted our analysis to the period when widespread community-based testing was available, which ensured access to testing for a wide range of people, for example, anyone with symptoms and for anyone being admitted to hospital28,29. Studies so far have suggested that transmission of SARS-CoV-2 across the placenta is rare30,31, which likely explains the lack of association. There has, however, been a case report of a severe eye anomaly linked to maternal SARS-CoV-2 infection at 5-6 weeks gestation32. We did not identify any eye anomalies in babies exposed to infection in early pregnancy (or their controls), but this highlights the importance of continued monitoring of congenital anomalies following SARS-CoV-2 infection.

The strengths of this study include that it was population-based and, compared to most previous studies, had a large sample size. Unlike many previous studies we restricted our exposure period to the relevant early pregnancy period, and we examined both a broader exposure window, between six weeks preconception and 19 + 6 weeks gestation, and a narrower window reflecting the key teratogenic risk period of between conception and 9 + 6 weeks. Critically, we included babies regardless of pregnancy outcome in our analyses, hence babies with an anomaly will be included whether the pregnancy ends in a termination or a live or stillbirth. The presence or absence of an anomaly is usually unknown in babies where the pregnancy ends in an early miscarriage or social termination. We therefore restricted our primary analyses to only include babies from pregnancies reaching at least 12 weeks gestation but undertook sensitivity analyses including babies from pregnancies of all duration.

There are, however, also some important limitations. Firstly, there were only small numbers of specific types of congenital anomalies preventing any subgroup analyses by type of anomaly. We have, however, presented descriptive data for more specific types of congenital anomalies and these were in line with the numbers expected based on previously published data from Scotland27. Secondly, while we used robust methods for the ascertainment and classification of anomalies based on international (EUROCAT) standards33, we are unlikely to have identified all congenital anomalies in our study population. Specifically, we will have under-ascertained anomalies among live births (particularly those that are not evident shortly after birth) as we curtailed follow-up for congenital anomalies to 28 days, rather than the usual 12 months, after birth to allow timely analyses. We also were not able to integrate data on the measurement of the occipito-frontal circumference at birth for comprehensive assessment of microcephaly, originally proposed in our study protocol as an outcome of interest, as these data were too incomplete. In primary analyses, we will have additionally excluded a small number of babies with anomalies that were subject to termination of pregnancy before 12 weeks gestation, although our sensitivity analyses retaining all babies regardless of gestation indicated that this had negligible impact. More speculatively, it is possible that pandemic-related changes in maternity and neonatal care, and associated national data quality, may have influenced the ascertainment of anomalies, however this would be unlikely to impact our exposed and controls groups differentially. Finally, and common to all observational studies, is the challenge of ensuring adequate adjustment for potential confounders. We included a number of potentially important confounders, including clinical vulnerability and smoking, but found that adjustment had little impact on the OR. We did not have data on some potential confounders, for example, parity and other major teratogenic exposures such as use of teratogenic medications or infections known to increase the risk of congenital anomalies (e.g., rubella), but this is unlikely to explain the absence of association that we observed in this study. We were also unable to match on pregnancy start date or season of conception when selecting unvaccinated controls due to the relatively small available pool of unvaccinated women who were the same maternal age and had the same pregnancy start date; additional exploratory analyses matching on season of conception and using fewer unvaccinated controls did not change our conclusions.

In summary, this study provides some of the most robust evidence to date that there is no association between COVID-19 vaccination or SARS-CoV-2 infection and the risk of major congenital anomalies. However, even using national, population-based data, we were not able to look at specific types of congenital anomalies, highlighting the importance of continued monitoring of major congenital anomalies and pooling of data from different settings to look at these rarer events. More generally, our study adds to a growing body of evidence on the safety of COVID-19 vaccination (in particular using mRNA vaccines) in pregnancy and provides important reassurance on safety of vaccination just before or in early pregnancy, although more data are required from other settings on viral vector vaccines. This supports current policy and clinical advice that vaccination can be given at any stage of pregnancy and to women planning to become pregnant26,34,35, and that vaccination remains the best way for women to protect themselves and their babies from the known risks of SARS-CoV-2 infection in late pregnancy.

Methods

This population-based, matched cohort study was conducted according to a pre-specified study protocol and statistical analysis plan36, with our results reported and recorded according to the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guidelines37.

Ethical and governance approvals

The National Research Ethics Service Committee, South East Scotland 02 provided ethical approval (REC 12/SS/0201: SA 2). The Public Benefit and Privacy Panel for Health and Social Care (PBPP-HSC) provided information governance approval (2021-0116). Under the terms of our PBPP-HSC approval, patient consent was not required for use of routine health records for the COPS study.

Study population

We used the COVID-19 in Pregnancy in Scotland (COPS) cohort as updated in mid-July, 2022. The COPS cohort includes information on all completed and ongoing pregnancies (and the resulting fetuses/babies - hereafter ‘babies’ for brevity) in Scotland from January 1, 2015 onwards (N = 581,370). Pregnancies ending at any gestation and in any outcome (miscarriage, termination of pregnancy, stillbirth, live birth) were included. Information on pregnancies, including estimated date of conception, pregnancy outcome, and gestational age at end of pregnancy, were extracted from: antenatal care (ANC) booking records; General Practitioner (GP) records; general acute hospital discharge records (Scottish Morbidity Record (SMR) 01); maternity hospital discharge records (SMR 02); statutory termination of pregnancy notifications (AAS); National Records of Scotland (NRS) statutory live birth and stillbirth registrations; and NHS Scotland live birth notifications. Further details on the creation of the COPS dataset have been published elsewhere22,23. In general, date of conception was estimated from the date and recorded gestation at the end of pregnancy (or date and recorded gestation at antenatal booking (i.e. the first contact a pregnant woman has with a midwife to plan ongoing care for the pregnancy and birth38)). Recorded gestation at the end of pregnancy is highly complete and accurate on national records relating to pregnancies ending in termination, late miscarriage, or delivery, but is usually missing for pregnancies ending in early miscarriage occurring before antenatal booking. Imputed gestation at the end of pregnancy was therefore used for any completed pregnancy with unknown gestation, with the imputed gestation based on pregnancy outcome, for example 10 + 0 weeks for miscarriages managed in non-maternity settings (and hence likely to be early losses).

For this study, we included babies with an estimated conception date before June 2, 2021. This ensures that all babies could be followed up to 40 weeks and six days (40 + 6) gestation by the end of February 2022, with sufficient time then allowed for return of national health records relating to care provided at the end of pregnancy or (for live births) during the subsequent 28-day neonatal period, and their incorporation into the COPS dataset update in mid-July 2022. A small number of completed pregnancies with an unknown pregnancy outcome were excluded from this analysis (N = 5738, 1.0%).

Exposure and outcome information

National data on COVID-19 vaccination (including date and type of vaccination) and confirmed SARS-CoV-2 infections were incorporated into the COPS study cohort using unique identifiers to identify exposures of interest.

A modified version of the Scottish Linked Congenital Condition database (SLiCCD)39 was updated in July 2022 and linked to the COPS study cohort using unique identifiers to identify babies with major congenital anomalies. The SLiCCD is usually updated on an annual basis by Public Health Scotland (PHS) to enable surveillance of the occurrence of anomalies in the Scottish population27. Production of the SLiCCD involves linkage and analysis of a range of national health datasets held by PHS (maternity hospital discharge records (SMR 02); statutory termination of pregnancy notifications (AAS); NRS statutory stillbirth registrations; hospital neonatal care (Scottish Birth Record), general including paediatric acute discharge records (SMR 01), and NRS statutory death registration records for babies; and MBRRACE perinatal death enhanced surveillance records)40. Diagnostic codes on the source records are used to identify babies with a major structural or chromosomal anomaly or recognised syndrome meeting EUROCAT inclusion criteria41, specifically EUROCAT Guide 1.4 which was in place at the time this study started33. In line with EUROCAT guidance, babies are included in SLiCCD if the pregnancy ends in a termination of pregnancy at any gestation, a spontaneous pregnancy loss at 20 weeks gestation or over, or a live birth. Usually, SLiCCD includes live born babies diagnosed at any point up to their first birthday. To allow more timely analyses, the modified version of SLiCCD produced for this study included babies diagnosed at any point up to end of the 28-day neonatal period. In addition, MBRRACE perinatal death enhanced surveillance records were not used due to long data lags.

In a deviation from our study protocol, we did not assess whether there was any association between either COVID-19 vaccination or SARS-CoV-2 infection and the risk of microcephaly, as the data on the measurement of the occipito-frontal circumference at birth were too incomplete to support these analyses.

COVID-19 vaccination and major congenital anomalies

Exposure

Our primary exposure was receipt of any COVID-19 vaccine from six weeks before conception to 19 + 6 weeks gestation or end of pregnancy if earlier (in line with guidance from The Brighton Collaboration Congenital Anomalies Working Group16). As noted by The Brighton Collaboration Congenital Anomalies Working Group, this exposure window allows for potential errors in assigning a date of conception, while focusing on exposure within the most plausible gestational period for development of congenital anomalies (which varies between different types of congenital anomalies)16. Babies were categorized as having been exposed to vaccination if their mother received any vaccine type available in Scotland (Oxford/AstraZeneca ChAdOx1-S/nCoV-19, Pfizer-BioNTech BNT162b2, or Moderna mRNA-1273), any dose (first, second or third) and any number of doses (one dose or two doses) in this pregnancy exposure period.

Outcomes

For our primary analyses, all fetuses/babies from pregnancies that reached at least 12 weeks gestation were categorized as having a major congenital anomaly (major structural or chromosomal anomaly or recognised syndrome meeting EUROCAT inclusion criteria33) or not. The group with no major anomaly identified will include a small number of babies (from miscarriages at 12–19 weeks gestation inclusive) where anomaly status is unknowable/unknown. Following SLiCCD usual practice, we allocated each anomaly present in an affected baby to the relevant EUROCAT anomaly group (nervous system anomalies, congenital heart defects, etc). One baby could therefore be allocated to multiple groups, and the number of anomalies allocated to each group will sum to more than the total number of affected babies. Finally, we identified the subset of babies who had no known genetic basis for their anomaly (babies with no anomaly allocated to the chromosomal; skeletal dysplasias; or genetic syndromes and microdeletions EUROCAT (sub)groups), as anomalies with a genetic basis are not caused by environmental exposures such as medicines/vaccines.

Matching to unvaccinated controls

We matched each vaccinated baby to three babies from the pandemic vaccination period, from pregnancies reaching at least 12 weeks gestation whose mothers were unvaccinated in the pregnancy exposure period. Matching was on the basis of maternal age at conception (+/− one year) and gestational week of first maternal vaccination in the exposed baby (i.e., the exposed baby could be matched with any baby from the eligible control cohort which had reached at least the gestational week of the exposed baby at vaccination; hence a baby whose mother was vaccinated at 14 weeks gestation would be matched to a baby from a pregnancy reaching at least 14 weeks gestation). Maternal age is particularly strongly associated with both the likelihood of being vaccinated and the risk of certain congenital anomalies. Gestational age at exposure is also associated with the risk of certain congenital anomalies (e.g. exposures after neural tube closure cannot be associated with neural tube defects). The number of potential controls was too small to allow additional matching by calendar time or season of conception for our primary analyses.

Given our focus on the safety of COVID-19 vaccination, all babies in whom the mother had SARS-CoV-2 infection between six weeks preconception and 19 + 6 weeks gestation (or the end of pregnancy if earlier) were excluded before the matching was conducted. As such, we were only able to capture the direct association between COVID-19 vaccination and congenital anomalies and not any impact of COVID-19 vaccination mediated through reducing the risk and severity of SARS-CoV-2 infection.

SARS-CoV-2 infection and major congenital anomalies

We took a similar approach to prepare the COPS dataset to assess whether there was any association between confirmed SARS-CoV-2 infection between six weeks preconception and 19 + 6 weeks gestation (or end of pregnancy if earlier) and the risk of congenital anomalies. In line with national guidance in place over the study period42, confirmed infection was defined as a positive SARS-CoV-2 reverse transcription (RT) polymerase chain reaction (PCR) test result, and date of onset was taken as the date of the first positive test within the pregnancy exposure period. If a woman had multiple positive tests, these were considered separate infections if they were >90 days apart. To minimize the risk of misclassifying babies as unexposed to infection in the pregnancy exposure period due to lack of SARS-CoV-2 testing, we restricted the study population for this analysis to babies that had not yet reached 19 + 6 weeks gestation or were conceived after the date when widespread community testing became available in Scotland (May 18, 2020). Three babies not exposed to infection in the pregnancy exposure period were matched to each infected baby on maternal age at conception (+/− 1 year), gestational week of first maternal infection in the exposed baby, and season of conception. All babies in which the mother had COVID-19 vaccination between six weeks preconception and 19 + 6 weeks gestation (or the end of pregnancy if earlier) were excluded before the matching was conducted.

Covariates

Data on potential sociodemographic and clinical confounders of the association between both COVID-19 vaccination and SARS-CoV-2 infection with congenital anomalies were available in the COPS data. Specifically, data were available on maternal area-level deprivation (based on population quintiles with “1” indicating the most deprived fifth of the Scottish population, and “5” the least deprived43), maternal ethnicity (grouped according to the Scottish decennial population census categories44), maternal rural urban status (categorized into six groups for descriptive analyses but as urban or rural for modelling45), maternal clinical vulnerability (not clinically vulnerable, clinically vulnerable (but excluding diabetes) or clinically extremely vulnerable), maternal diabetes (none, pre-existing diabetes, gestational diabetes), maternal smoking status (non-smoker, ex-smoker, smoker, unknown), maternal body mass index (BMI) (underweight, healthy weight, overweight, obese and severely obese, unknown) and whether the baby was from a singleton or multiple pregnancy. Maternal area-level deprivation was based on postcode of residence and derived according to the standard measure used by the Scottish Government (Scottish Index of Multiple Deprivation [SIMD]) which ranks areas by deprivation on the basis of seven domains: income, employment, education, health, access to services, crime and housing43. Women were classified as clinically extremely vulnerable if they were identified on the national highest risk/shielding list maintained by Public Health Scotland46 and, of those not extremely vulnerable, were classified as clinically vulnerable if they were in any Q-COVID risk group47 (excluding diabetes) or had hypertension according to cross-sectional GP/primary care data available from June 2020 and January 2021. Data on maternal diabetes, and BMI at antenatal booking, were extracted from delivery records where possible, then from GP records if available. Similarly, smoking status at antenatal booking was extracted from delivery records then GP records, but with one exception. If it was documented that a woman was a non-smoker at antenatal booking, but they were recorded as either a smoker or ex-smoker on a GP record, then we categorized the woman as an ex-smoker.

Statistical analysis

Descriptive analyses were initially conducted looking at the distribution of our exposed and control cohorts by sociodemographic and clinical characteristics (including assessing levels of missing data), looking at the distribution and prevalence of congenital anomalies by cohort and, for our exposed groups only, looking at further descriptive information about the exposures. For the babies exposed to vaccination, for example, we looked at the number and type of vaccinations administered to the mother in the pregnancy exposure period.

To assess whether there was any evidence of an association between our exposures and any anomaly, we used conditional logistic regression to account firstly for only the matching factors (maternal age and gestational age at matching for the vaccination analysis, and additionally for season of conception for the infection analysis), and then adjusting for all the sociodemographic and clinical covariates. For the few covariates with missing data, we included “unknown” groups in our main models so these babies were not dropped from the analysis. The same approach was taken to look at the non-genetic anomalies outcome.

Analyses were conducted in R 3.6.1.

Subgroup and sensitivity analyses

We conducted pre-specified subgroup analyses, stratifying our analysis of the association between vaccination and congenital anomalies by whether the mother received mRNA vaccination (i.e., Pfizer-BioNTech BNT162b2 or Moderna mRNA-1273) or a viral vector vaccination (i.e., Oxford-AstraZeneca ChAdOx1-s/nCoV-19). Babies where the mother received different vaccinations between six weeks conception and 19 + 6 weeks gestation, and their controls, were excluded from these subgroup analyses.

We conducted two sensitivity analyses for the analysis of the association between both vaccination or SARS-CoV-2 infection and congenital anomalies. Firstly, we assessed the impact of including babies from pregnancies of any duration (not just those reaching at least 12 weeks). Secondly, we restricted our pregnancy exposure period to the key teratogenic risk window from conception to 9 + 6 weeks gestation inclusive.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.