Background Congenital heart disease (CHD) is the leading cause of morbidity and mortality from birth defects worldwide. We report an overview of trends in CHD mortality in 204 countries and territories over the past 30 years and associations with age, period, and birth cohort.Methods Cause-specific CHD mortality estimates were derived from the Global Burden of Disease 2019 study. We utilised an age-period-cohort model to estimate overall annual percentage changes in mortality (net drifts), annual percentage changes from 0 to 4 to 65−69 years (local drifts), period and cohort relative risks (period/cohort effects) between 1990 and 2019. This approach allows for the examination and differentiation of age, period, and cohort effects in the mortality trends, with the potential to identify disparities and treatment gaps in cardiac care.Findings CHD is the leading cause of deaths from non-communicable diseases (NCDs) in those under 20 years. Global CHD deaths in 2019 were 217,000 (95% uncertainty interval 177,000−262,000). There were 129 countries with at least 50 deaths. India, China, Pakistan, and Nigeria had the highest mortality, accounting for 39.7% of deaths globally. Between 1990 and 2019, the net drift of CHD mortality ranged from −2.41% per year (95% confidence interval [CI] −2.55, −2.67) in high Socio-demographic Index (SDI) countries to −0.62% per year (95% CI: −0.82, −0.42) in low-SDI countries. Globally, there was an emerging transition in the age distribution of deaths from paediatric to adult populations, except for an increasing trend of mortality in those aged 10−34 years in Mexico and Pakistan. During the past 30 years, favourable mortality reductions were generally found in most high-SDI countries like South Korea (net drift = −4.0% [95% CI −4.8 to −3.1] per year) and the United States (−2.3% [−2.5 to −2.0]), and also in many middle-SDI countries like Brazil (−2.7% [−3.1 to 2.4]) and South Africa (−2.5% [−3.2 to −1.8]). However, 52 of 129 countries had either increasing trends (net drifts ≥0.0%) or stagnated reductions (≥−0.5%) in mortality. The relative risk of mortality generally showed improving trends over time and in successively younger