Population growth and the need to exploit natural resources to produce food and guarantee food sovereignty reduce water availability, which can influence nutrient absorption capacity and production of plants. This study evaluated whether variations in soil water replacement levels promote changes in the mineral composition and biomass productivity of forage cactus varieties. A field experiment was conducted in a randomized block design with five levels of reference evapotranspiration replacement (25, 50, 75, 100 and 125% ETo) and three replicates. Contents of the macronutrients N, P, K, Ca, Mg and S; micronutrients Cu, Fe, Mn, Zn, Cl, Na and B; and biomass productivity were quantified in two varieties of forage cactus (‘Orelha de Elefante Mexicana’ and ‘Miúda’). The data were subjected to principal component and multivariate variance analysis. The mineral composition of the forage cactus varieties ‘Miúda’ and ‘Orelha de Elefante Mexicana’ can be optimized from soil water management, so as to obtain adequate nutritional balance for higher yield. The replacement level of 75% ETo promoted greater balance between nutrients in the cladodes of the forage cactus variety ‘Miúda’, while ‘Orelha de Elefante Mexicana’ had better nutritional balance with the replacement levels of 100 and 125% ETo. Soil water replacement levels of 100 and 125% ETo promote high accumulation of Na+ and Cl- ions in the cladodes of the forage cactus varieties studied. Highest biomass productivity of the varieties ‘Orelha de Elefante Mexicana’ and ‘Miúda’ was obtained with 75 and 100% ETo replacement levels, respectively. Among the varieties, ‘Orelha de Elefante Mexicana’ had a higher capacity for nutrient accumulation and biomass productivity, followed by ‘Miúda’, under the edaphoclimatic conditions of the Brazilian semiarid region.