The use of subpar agricultural techniques in arid regions is causing depletion of fresh water reservoirs and soil fertility, which has serious implications for the environment and food productivity. Although numerous studies have examined the effects and benefits of biochar as a soil supplement, particularly on soil water holding capacity, plant productivity, and soil fertility, limited information exists on the effects of biochar at different doses with biocompost on the productivity and physiological parameters of alfalfa compared to conventional agricultural practices under water stress in the field. This field study at three repetitions aimed to investigate how biochar made from tomato waste and date seeds pyrolyzed at a temperature around 540 °C affects soil chemical composition, water retention capacity, photosynthesis, protein levels, enzymatic activity, productivity, maturity, and stomatal traits in alfalfa under and without deficit water compared to conventional agricultural practices based on manure and chemical fertilizer. The results showed that biochar significantly increased the water retention capacity, especially when mixed with biocompost. The highest water retention capacity was observed in the 6 % biochar 3 % biocompost and 6 % biochar 6 % biocompost treatments, which exceeded 0.7 g H2O/g dw. The high productivity and maturity were observed with manure at medium doses combined with chemical fertilizers and at high doses of munure alone, but these results were unstable with time and with the irrigation regime. On the other hand, the fluctuation of these data was minimal for the 3 % biochar 0 % biocompost treatment under and without water stress. In addition, the low dose treatment of manure with chemical fertilizers resulted in high levels of proteins, photosynthetic activities, and low enzymatic activities, indicating that this treatment is better adapted to stress conditions. The treatments with biocompost alone yielded low results on all the parameters studied. To conclude, incorporating biochar and biocompost, especially in synergistic combinations, enhances water retention capacity and sustains alfalfa productivity under both stressed and unstressed conditions. These findings suggest a promising alternative to traditional manure and chemical fertilizers, showcasing the potential of biochar-based strategies for resilient and sustainable agricultural practices.