Abstract Background Ischemic stroke is a major common cause of death not only in Serbia but worldwide. Mortality statistics commonly include ill-defined, impossible and insufficiently specified causes of death among the underlying causes of death (CoDs). In the activities of the Laboratory for Strengthening the Capacity and Performance of the Health System and Workforce for Health Equity, we examined mortality due to ischemic stroke either as well-defined underlying CoDs or garbage codes (GCs - including the ill-defined, unspecified or impossible CoDs) in Belgrade in 2015 and 2020. Methods Anonymous mortality data of the City Institute of Public Health Belgrade were analyzed, and the GCs were redistributed to ischemic stroke as underlying CoDs (ICD-10 codes I63-I63.9), based on the principles of the Global Burden of Disease study, using the three-step approach: 1) exploration and analysis of GCs; 2) modelling of the underlying, antecedent and immediate causes of death; 3) proportionate redistribution. Results 17% of the total of all deaths in Belgrade in 2015 and 20.9% in 2020 were GCs. Before the redistribution, the share of ischemic stroke as the well-coded CoDs of total mortality was 7.3% (1443/19641) in 2015 and 4.6% (1022/21957) in 2020. A total of GCs - 309 deaths in 2015 and 322 in 2020 were identified for redistribution to ischemic stroke. Based on the type of GCs, in 2015, a total of 139 cases were redistributed in type 1 GCs, 83 in type 2 GCs and 87 in type 3 GCs. In 2020, 141 cases were redistributed due to type 1 GCs, 62 type 2 GCs and 119 type 3 GCs. Conclusions This study underscores the significant proportion of all ischemic deaths in Belgrade that were coded with the GCs. After the redistribution, almost one-fifth of the ischemic strokes, previously known as GCs, were added, emphasizing the crucial role of accurate coding in understanding mortality patterns. Improving the coding of deaths is necessary to have reliable information for health policymaking. Key messages • One-fifth of the ischemic strokes in Belgrade were previously GCs. • Accurate coding is essential for understanding mortality patterns and developing valid health policies.