Extensive areas of sunflower production lands are salt-affected in Qom Province, Iran. Optimum use of chemical fertilizers is necessary for increasing yield and oil seed content. During spring 2001, a field experiment was conducted to investigate the effect of potassium and magnesium and their interaction on growth and yield of sunflower (variety Record) in a saline soil. The treatments consisted of three potassium rates (0, 50 and 100 kg, K__2O ha^-1) and three magnesium rates (0, 75 and 150 kg, Mg O ha^-1) in a split plot experiment with a randomized complete blocks design and three replicates. Seeds of sunflower were planted in 3 f xm plots, and 20 1. xcm spacing. A uniform amount of nitrogen and phosphorus fertilizers) based on soil analysis) as well as the fertilizer treatments were applied in rows. At harvest, seed yield, plant height, head diameter, 1000 seed weight, oil seed content, as well as the concentrations of mineral elements (N, P, K, Ca, Mg, Na and Cl) were determined in sunflower leaves. Results showed that increasing K application significantly enhanced yield and oil seed content (p>0.05). Application of Mg O up to 75 kg ha^-1 level, decreased seed yield, but increased oil seed content; whereas 150 kg Mg O ha^-1 treatment increased seed yield and oil content. In low and middle rates, K and Mg had a positive and significant interaction on the seed yield, plant height, 1000-seed weight and oil seed content. The highest (3638 kg ha^-1) and lowest (2043 kg ha^-1) yields were related to K__100 Mg__0and K__0 Mg__0 treatments, respectively. Also, K and Mg had a positive and significant interactive effect on K/Na, Mg/Na and Ca/Na ratios in the leaf. Application of K decreased Na concentration in the leaf and, as a result, increased plant tolerance to salinity. The use of Mg fertilizer increased yield and oil content of seeds, even though its role in the increase of the yield was less important than potassium.