Introduction

Since the end of January 2019, when WHO Director-General declared the 2019 novel Coronavirus outbreak a public health emergency of international concern, more than 489 million people have been infected with the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) and more than 6 million people have died of coronavirus disease 2019 (COVID-19) globally [26, 44].

It is well-accepted that the case fatality of COVID-19 gradually increases over age with a marked surge after age 65 [13, 27]. Consequently, national vaccine programs that have given high priority to those at highest risk due to their occupation or medical vulnerability prioritized elderly people (mostly those over 65 years of age). Given the fact that vaccines clearly decrease the risk of infection and COVID-19-related mortality [36] and that the elderly are often prioritized for vaccination, this could have led to a better protection and an increased survival in this population [42]. An indirect consequence of the prioritization of the elderly, however, is a potential shift of the age distribution of COVID-19 towards younger ages [33]. Indeed, recent studies indicate that adults aged 20–49 years and especially those 35–49 may play a central role in the resurgence of the COVID-19 pandemic [27]. Furthermore, a less often examined driving force of the pandemic could also be children, who could harbor the infection without severe symptoms and thus could lead to the disproportionate exposure of primary caregivers, who are often women [27, 34, 45].

The Hungarian vaccination program started at the end of 2020, coinciding with the beginning of the third wave of COVID-19. After health care workers, the elderly were prioritized, resulting in increasing vaccination coverage among them during the third wave [10]. Given the increasing vaccination coverage among the elderly in the third wave of the pandemic in Hungary and the effect of vaccination on both infection risk and disease severity, one can expect decreased relative risks of COVID-19-related mortality in the older ages in the third wave compared to the second wave of the pandemic. However, given the non-uniform testing for SARS-CoV-2 in the general population, reported COVID-19-related mortality rates could be influenced by indication bias, while all-cause mortality (although this also includes other changes coinciding with the pandemic) could better reflect the effect of vaccinations. Thus, the main goals of our study were (1) to estimate excess absolute mortality by age and (2) to assess the age-distribution of all-cause mortality during the second and third waves of the COVID-19 pandemic in Hungary compared to the same periods of non-pandemic years. As studies also indicate that children and primary caregivers (mostly women) may be driving up infection rates in resurging phases of the pandemic [27, 45], while men in general are affected more severely by the disease and have a higher mortality [2], our secondary goal was to examine sex differences of age-related all-cause mortality during the second and third waves of the COVID-19 pandemic in Hungary.

Materials and methods

Setting and participants

This ecological study uses weekly mortality data and yearly population structure for the whole of Hungary between 2015 and 2021 (total population 9.86 to 9.73 million people). Age and sex structure of the background population and weekly all-cause mortality by sex and age groups for Hungary for each year between 2015 and 2021 are publicly available through the website of the Hungarian Central Statistical Office [17, 19]. Thus, this study was exempt from institutional review approval.

Based on visual inspection of the weekly mortality data of 2020 and 2021, we defined the second mortality wave of the pandemic as week 41 of 2020 through week 4 of 2021 (16 weeks), while the third wave was defined as weeks 7–21 of 2021 (15 weeks, data available on request). Given the time lag between the onset of clinical disease and mortality, waves defined by mortality data are different from those based on disease surveillance (Supplementary Fig. 1).

Outcomes

All-cause mortality (counts and rate ratios) during the second and third waves of the COVID-19 pandemic (2020 and 2021) were compared to all-cause mortality of the respective time periods of non-COVID-19 years (2015–2019) [17, 19].

Covariates

All-cause mortality and background population data were tabulated by sex and age using the following strata: 0–34, 35–44, 45–54, 55–64, 65–74, 75–84, and 85+ years of age.

Statistical analysis

Rate ratios for excess all-cause mortality with 95% confidence intervals and excess absolute weekly deaths were estimated for each age and sex stratum separately using generalized linear models (Poisson distribution with log link) with age- and sex-specific mortality counts as the dependent variable; age groups, sex, and time period (COVID-19 vs. control) as factors; and finally, the natural log transformed values of the age- and sex-specific background population as offset. The validity of the Poisson distribution of the outcome was tested by comparing the model-based and robust estimators. Since no major differences were observed between estimators, the results of the model-based confidence intervals were presented. Statistical significance was set at p<0.05. IBM SPSS Statistics 28.0.1.0 was used for statistical analysis.

Results

Altogether, 9771 (95% CI: 9554–9988) excess deaths were recorded during the second wave of the pandemic, while this number was substantially lower, 8143 (95% CI: 7953–8333) during the third wave. During the second and third waves of the COVID-19 pandemic, all age groups exhibited higher observed number of deaths compared to control years except for a non-significant excess for the 0–34 population and a significantly reduced number of deaths in the 85+ population in the third wave (Table 1).

Table 1 Observed all-cause mortality during the 2nd and 3rd waves of the COVID-19 pandemic in Hungary and excess all-cause mortality compared to mortality of the same weeks of 2015–2019

During the second wave, rate ratios were highest for ages 65–84. A lower risk was observed in those older than 85 years, while the risk was lowest in those below 65 years of age. A non-significant second peak for ages 35–44 can also be suspected. In contrast, during the third wave, rate ratios peaked between ages 35 and 44, followed by the age groups 45–74. Similarly, low results were observed for both the 75–84 and the 0–34 age groups, while the lowest risk was observed in the 85+ population (Fig. 1).

Fig. 1
figure 1

Age-specific rate ratios and their 95% confidence intervals of all-cause mortality in the second (green markers) and the third waves (yellow markers) of the COVID-19 pandemic in Hungary compared to the same weeks in 2015–2019. Rate ratios for excess all-cause mortality with 95% confidence intervals for waves 2 and 3 were estimated for each age stratum separately using generalized linear models (Poisson distribution with log link) with age-specific mortality counts as the dependent variable; age groups and time period (COVID-19 vs. control) as factors; and the natural log transformed values of the age-specific background population as offset. Abbreviations: RR: rate ratio; 95% CI: 95% confidence interval

When comparing the second and third waves, we found a substantially lower relative mortality in the 65+ population during the third wave compared to the second wave. The rate ratios were similar for ages 45–64 and 0–34 years, whereas point estimates were higher for the 35–44 age groups during the third wave compared to the second wave (Fig. 1).

When examining the effect of sex, we found no significant differences except for a higher rate ratio in women compared to men aged 55–64 during the third wave (Fig. 2 Panel A and B).

Fig. 2
figure 2

Age- and sex-specific rate ratios and their 95% confidence intervals of all-cause mortality in the second (panel A) and third (panel B) waves of the COVID-19 pandemic in Hungary compared to the same weeks in 2015–2019. Blue markers—male; Magenta markers—female. Rate ratios for excess all-cause mortality with 95% confidence intervals for waves 2 and 3 were estimated for each age and sex stratum separately using generalized linear models (Poisson distribution with log link) with age- and sex-specific mortality counts as the dependent variable; age groups, sex, and time period (COVID-19 vs. control) as factors; and finally, the natural log transformed values of the age and sex-specific background population as offset. *p<0.05 Abbreviations: RR: rate ratio; 95% CI: 95% confidence interval

Discussion

Compared to control years, a substantial number of excess deaths during both waves of the pandemic with larger absolute numbers during the second wave were observed compared to the third. An excess number of deaths and an increased risk of mortality were observed for all age-groups except fort the oldest age group in the third wave during both examined waves of the pandemic. Comparing the two waves, the highest risk was observed in the 65+ age groups during the second wave, while the 35–44 age group had the highest relative risk during the third wave. During the second wave, relative mortality increased up to ages 65–84, followed by a shallow decrease. In contrast, risk rates peaked at ages 35–44 and gradually decreased after that during the third wave. As for sex differences, significantly higher excess mortality among women aged 55–64 was found compared to males of the same age group in the third wave, although this difference was likely a chance finding, given the high number of tests performed in this analysis.

Our findings for the second wave, namely a continuous increase of all-cause mortality compared to the non-COVID years until ages 65–84, corroborate other observations on the age-dependent mortality of COVID-19 [32]. The age mortality association is partly explained by the more severe manifestations of COVID-19 among the elderly related to the higher occurrence of comorbidities, such as heart failure [35] and diabetes [41], or the age-related dysfunction of the heart-brain axis [22]. These observations are unlikely to be confounded by the vaccination program, as vaccination coverage was almost non-existent during the second wave [10]. Surprisingly, the relative mortality of the oldest people (85+) was lower than that of the 65–84 age groups. A likely explanation of this observation may be that the oldest population (and their families) followed non-pharmaceutical interventions more stringently, as certain studies indicate an increasing adherence to non-pharmaceutical measures with age [15, 20]. This is also corroborated by a study that found that those aged 80 and above were 2.3-fold more likely to isolate themselves than elderly between ages 60–70 [39].

When comparing the second to the third wave, a clear decline in relative mortality of the ≥65 population was observed. This is possibly related to the quickly increasing vaccination coverage in the elderly during the third wave. While some vaccinations were administered as early as the end of December 2020, most vaccinations among the elderly were administered only 2 months later, from February 2020 [43]. Given that elderly were prioritized in vaccination programs both worldwide and in Hungary, coverage rates showed a strong age-dependence during the third wave [40]. According to ECDC data, vaccination coverage reached 65% in the ≥70 age group, 50% in the 60–69, while it remained around 10–30% for younger age groups [10] (Table 1). Furthermore, vaccination acceptance also increases with age and the number of comorbidities (which is also age dependent), resulting in an even higher uptake in the multimorbid elderly age groups [21, 24]. Thus, the lower relative all-cause mortality observed among the elderly during the third wave compared to the second wave could reflect the effectiveness of the vaccination program in Hungary, similarly to other countries with similar policies [23, 33, 37, 42]. Given the ecological nature of our analysis, however, other explanations cannot be excluded, such as a selectively increasing adherence to non-pharmaceutical interventions in the elderly population over time [3], as some evidence suggests an increased compliance of wearing face masks among the elderly [38], or the absence of influenza activity during the pandemic years leading to an underestimation of the relative risk in the more severely affected elderly [25]. We suspect that the combination of the above factors could be an explanation of the lower-than-expected mortality in the 85+ population during the third wave.

The most interesting finding of our study is the increase in relative risk of mortality for the 35–44 age group in the third wave compared to the second wave. This finding is unlikely to be confounded by vaccinations, as vaccination coverage was around 20% in this age group even by the end of the third wave. While differential vaccination hesitancy by age could play a role in vaccination uptake in certain age groups, this is an unlikely explanation to our findings given that the 20% uptake in this age group is more likely to reflect a low supply of vaccines and not low demand in this age group [8]. Given the fact that children less frequently present severe symptoms of COVID-19 if infected and may carry relatively high viral loads in the upper respiratory tract in the early phase of the infection [45], it is not surprising that young children (0–8 years) may play an important part in the spread of infection among household contacts [34] and adults living with children up to 18 years of age [11]. However, this is not necessarily reflected in our findings, as the closure of daycare and primary educational facilities was more stringent during the third wave compared to the second wave of the pandemic in Hungary [9, 18]. The results are even more surprising when considering that the proportion of employees working from home also increased from 2 to 17% from April to May 2020 [18].

While individuals between 25 and 54 years of age with children were more likely to work from home [12], and thus may in fact have a relatively lower risk of infection, people without children may have adhered less strictly to sanitary measures and may have been less worried about their own and relatives’ health during the COVID-19 pandemic [31]. Moreover, younger individuals, and especially those with lower income brackets, often express concerns regarding job security and income in relation to isolation and quarantine measures and are more likely to present for work even when symptomatic [38]. Moreover, younger individuals have lower compliance to personal hygiene and avoidance of contacts in general as well [14]. As a consequence, younger individuals may exhibit higher infection rates that should be taken into consideration in the planning of vaccine rollouts and non-pharmaceutical recommendations [6]. Another important difference between the second and third waves of the pandemic was that while the second wave is mostly unconfounded by influenza, the third wave coincides with the usual time period of the influenza epidemic [30]. However, the lack of influenza activity during the third wave of the pandemic would most likely decrease the relative risks in the third wave compared to the second wave (NNK). Another factor for consideration is the evolution of SARS-CoV-2 between the pandemic waves. While there is no reliable information of the distribution of the different SARS-CoV-2 variants before week 24 of 2021, according to data reported to the ECDC, until week 29, 2021 (weeks after the end of wave 3 in the present analysis), the predominant SARS_CoV-2 variant was alpha (B.1.1.7). Given this, it is unlikely that SARS_CoV-2 variants played an important role in our findings [7]. Even if due to misclassification some of the COVID-19 cases were caused by the delta variant, which is more contagious and causes more severe disease than other variants (CDC), this is unlikely to explain our findings of selectively increased mortality in the 35–44 age group, while the relative risk in the youngest age group (un-confounded by vaccination) was non-significantly lower in the third wave.

In contrast to our original hypothesis of infection rates and consequent mortality increase among women as primary caregivers, we found no strong support of sex differences in age-specific relative mortality. The only difference was a significantly higher rate ratio among women aged 55–64 compared to men in the same age group during the third wave. Since COVID-19-related mortality is in general higher as well as presentation is more severe in men in all age groups, this lack of difference between men and women could indirectly support lower infection rates among men [5, 28] [2]. While there is no strong support for a biological cause for this difference in infection rates, the fact that women more frequently work as informal or formal caregivers [1, 16] could lead to higher rates of infection among women. Furthermore, the significantly increased mortality of women aged 55–64 may be related to their role as informal caregivers of children during the closure of educational facilities. It must be noted, however, that given the high number of comparisons made in this analysis, the observed sex differences could signal Type I error.

A major strength of the study is the fact that our observations cover the whole Hungarian population, leading to an increase in statistical power and a decrease in selection bias. A subsequent strength is that the methodology used for the description of the background population and the outcome was the same for both the pandemic and the non-pandemic years. By selecting a hard endpoint (all-cause mortality), misclassification is also unlikely. Furthermore, our statistical model fits the data well, further increasing the reliability of our results.

Limitations of our study include its ecological nature as only population-level data was gathered. The lack of information on cause-specific mortality makes it impossible to assess the true effect and magnitude of COVID-19 on mortality. It is also impossible to disentangle deaths linked directly to COVID-19 from causes of deaths linked indirectly to COVID-19, such as increased suicide rates or deaths linked to excessive alcohol consumption or drug abuse. We also had no access to potentially important confounding factors influencing mortality, namely residence, ethnicity, or socioeconomic status. Furthermore, our results are especially affected by the composition of the background population, and background populations may have been estimated imprecisely. It must be also noted that our results can be biased by the change of mortality from year to year as well. For instance, in 2021, the influenza pandemic was less evident, and the influenza season coincides with the third wave. Finally, we tested different models to describe mortality in our population. While we found that our results were consistent with a Poisson distribution, it is possible that other assumptions would better fit the data.

Conclusion

We found that relative mortality increased with age in the second wave of the pandemic compared to the non-pandemic years. However, as vaccination coverage increased among the elderly in the third wave, the rate ratios in these age groups became lower compared to the second wave clearly signaling the effectiveness of vaccines. We also report the highest relative mortality in the 35–44 age group during the third wave that could point to the role of non-biological factors (such as less stringent adherence to non-pharmaceutical measures). Our results highlight the importance of vaccination coverage and non-pharmaceutical measures in the whole population with a special emphasis on younger people who are usually considered to be at low risk for COVID-19-related mortality.