Moringa olifra is a very valuable plant with medical, food and industrial uses in the world that salinity stress as an abiotic stress affects all plant processes in Moringa. In this study, the effect of four salinity levels (zero, 20, 40 and 60 mmol) on the resistance of two Iranian and Indian ecotypes as a factorial experiment in the form of a randomized complete block design with three replications in the 2018-2019 crop in the greenhouse The Faculty of Agriculture and Natural Resources of the Persian Gulf was examined. At the end of salinity treatment, growth indices such as height, fresh and dry weight of shoots and roots, leaf number, leaf area, root volume and chlorophyll index, biochemical traits including proline content, chlorophyll a and b as well as nitrogen content, sodium, Potassium, phosphorus and iron of plants were measured. Based on the results of analysis of variance, the simple effect of ecotype, salinity levels and the interaction of salinity and ecotype were significant for most traits. The results also showed that the interaction of ecotype and salinity was significant for all traits except leaf area, number of leaves and root volume, which indicates the effect of salinity stress on the studied ecotypes for different traits. By comparing the mean, it was found that salinity in this study reduced growth indices such as fresh and dry weight of shoots and roots, height, number and area of leaves and root volume, as well as chlorophyll a and b. Salinity decreased the concentrations of potassium, calcium, iron, magnesium, phosphorus and increased sodium and proline. Concentration of 60 mM salinity had the most negative effect on growth indices and elements of potassium, calcium, iron, magnesium and phosphorus and the highest amount of sodium and proline was observed in this concentration. Comparison of the reaction of leaf elements of Moringa Indian and Iranian ecotypes to salinity stress showed that in the Iranian ecotype, more elements were affecte