The vast tree trash from date palm is generally burnt or dumped. However, recycling date palm biomass has attained great attention in recent years. The present study was, therefore, designed to produce biochar through pyrolysis using leaf and stem feedstocks of date palm and to find out its suitability as a soil conditioner under glasshouse conditions. The pot experiment was laid out according to a completely randomized design having three soil media (1) sandy loam soil, (2) sandy loam soil + 2.5% date palm leaf biochar and (3) sandy loam soil + 2.5% date palm stem biochar with five replicates in each treatment. The recommended dose of NPK (300:130:270 kg. ha-1) was applied to all replicates. Results showed that the date palm leaf and stem biochar significantly (P=0.05) improved cucumber vine length, stem diameter, leaf number, leaf area, number of fruits per vine, fruit length, fruit diameter, fruit volume, fruit fresh and dry weight, stem dry weight, leaf fresh and dry weight, fruit circumference, fruit surface area and yield per plant, fruit pH, total soluble solids, intercepted radiation, chlorophyll content, net photosynthesis, stomatal conductance, transpiration rate and water use efficiency. While the intercellular CO2 concentration was reduced with leaf and stem biochar treatments. However, there was a non-significant response of cucumber plants to any of the treatments regarding plant spread, leaf area index, days to flower, fruit setting, fruit maturity, stem fresh weight and fruit, stem, leaf and whole plant moisture content. In conclusion, the application of 2.5% of leaf and stem biochar mixed with sandy loam soil medium is recommended to get improved soil water holding capacity, plant growth, plant yield and physiological traits of cucumber under glasshouse conditions.