Abstract:The dosage and distribution of nitrogen and phosphor of onion and rice rotation in the Anning river valley were studied by using D-saturation optimum design.This paper built year-yield of onion and rice function model,and drew up an optimal fertilizer program for the high quality and grain yields and keeping the soil fertility,which provided a basis for the sustainable development of onion and rice in the Anning river valley.