question: BACKGROUND: Reaching optimal vaccination rates is an essential public health strategy to control the coronavirus disease 2019 (COVID-19) pandemic. This study aimed to simulate the optimal vaccination strategy to control the disease by developing an age-specific model based on the current transmission patterns of COVID-19 in Wuhan City, China. METHODS: We collected two indicators of COVID-19, including illness onset data and age of confirmed case in Wuhan City, from December 2, 2019, to March 16, 2020. The reported cases were divided into four age groups: group 1, ≤ 14 years old; group 2, 15 to 44 years old; group 3, 44 to 64 years old; and group 4, ≥ 65 years old. An age-specific susceptible-exposed-symptomatic-asymptomatic-recovered/removed model was developed to estimate the transmissibility and simulate the optimal vaccination strategy. The effective reproduction number (R(eff)) was used to estimate the transmission interaction in different age groups. RESULTS: A total of 47 722 new cases were reported in Wuhan City from December 2, 2019, to March 16, 2020. Before the travel ban of Wuhan City, the highest transmissibility was observed among age group 2 (R(eff) = 4.28), followed by group 2 to 3 (R(eff) = 2.61), and group 2 to 4 (R(eff) = 1.69). China should vaccinate at least 85% of the total population to interrupt transmission. The priority for controlling transmission should be to vaccinate 5% to 8% of individuals in age group 2 per day (ultimately vaccinated 90% of age group 2), followed by 10% of age group 3 per day (ultimately vaccinated 90% age group 3). However, the optimal vaccination strategy for reducing the disease severity identified individuals ≥ 65 years old as a priority group, followed by those 45–64 years old. CONCLUSIONS: Approximately 85% of the total population (nearly 1.2 billion people) should be vaccinated to build an immune barrier in China to safely consider removing border restrictions. Based on these results, we concluded that 90% of adults aged 15–64 years should first be vaccinated to prevent transmission in China. GRAPHICAL ABSTRACT: [Image: see text] SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s40249-021-00922-4.