We propose an optimized quasiperiodic microcavity with the aim of achieving the highest quality factor. The proposed structure consists of two quasicrystal rings with different geometries. By performing several optimizations on the structure, the highest quality factor of 8.16 x 10(7) for a femtosecond laser with a wavelength of 1040 nm can be achieved. The quasiperiodic microcavity is used for a quantum dot laser application that obtained the highest output power of 3800 W/m(2). The most important characteristics of this structure are the improvement of the quality factor and a simultaneously stable cavity wavelength. (C) 2015 Society of Photo-Optical Instrumentation Engineers (SPIE)