The wide application of KNN-based lead-free piezoelectric ceramics is constrained by the contradictory relationship between its mechanical quality factor and piezoelectric constant. From an application point of view, searching for chemical composition with enhanced piezoelectric constant (d 33 ) and mechanical quality factor (Q m ) is one of the key points of KNN-based ceramics. In this work, KNN-based ceramics with enhanced d 33 and high Q m values were obtained by the solid solution method via a donor−acceptor codoping strategy. The donor dopant Ho 3+ enhanced d 33 values by refining the domain size, while the acceptor dopant (Cu 1/3 Nb 2/3 ) 4+ improved Q m by the formation of defect dipoles. The composition (KNN-5Ho-4CN) exhibits optimal integrated performances, of which d 33 , Q m , and T C values are 120 pC/N, 850, and 392 °C, respectively. Moreover, the temperature coefficient of resonant frequency (TCF = −429 ppm/K) indicates that KNN-5Ho-4CN ceramic has good temperature stability. This work provides a new insight for developing KNN-based ceramics with enhanced d 33 and high Q m .