Dengue fever is a disease that has spread all over the world, including Thailand. Dengue is caused by a virus and there are four distinct serotypes of the virus that cause dengue DENV-1, DENV-2, DENV-3, and DENV-4. The dengue viruses are transmitted by two species of the Aedes mosquitoes, the Aedes aegypti, and the Aedes albopictus. Currently, the dengue vaccine used in Thailand is chimeric yellow tetravalent dengue (CYD-TDV). This research presents optimal control which studies the vaccination only in individuals with a documented past dengue infection (seropositive), regardless of the serotypes of infection causing the initial infection by the disease. The analysis of dengue transmission model is used to establish the local asymptotically stabilities. The property of symmetry in the Lyapunov function an import role in achieving this global asymptotically stabilities. The optimal control systems are shown in numerical solutions and conclusions. The result shows that the control resulted in a significant reduction in the number of infected humans and infected vectors.