Lanthanide-doped upconversion nanoparticles have unique optical properties that can absorb low-energy infrared photons and then emit higher-energy visible ones, which have been widely used for advanced optical sensors and fluorescent probes. Efficiently tailoring the upconversion emission is desirable for meeting the wavelength requirement in various application fields. However, up to now, optimizing the composition combining with core/shell structure is still the predominant way to reach this goal. Here, we show that the relative intensities of the emission peaks of upconverting nanoparticles can be tuned by coupling to single microcavity mode with specific symmetry. Theoretical calculation based on the finite-difference time-domain (FDTD) indicates that the symmetries of the microcavity modes dominate their resonant absorption properties in the visible region. As a result, the upconversion emission peaks vary in these microcavities with different symmetries. This route can be developed for tailoring the emission spectra of other luminescent materials, such as quantum dots and fluorescent dyes.