Improving crop yield very often comes at the cost of crop quality and stress resistance. Here, the authors report that gene editing of the thiamine pyrophosphate riboswitch in rice leads to elevated levels of various vitamins and phytonutrients, as well as resistance to cold and blast disease without penalty on grain yield.