The carbonization of agricultural residues into carbon-rich biochars can be considered as one of the practical methods in sustainable management. The objectives of this study were to: (i) investigate and compare the chemical, physical and micromorphological properties of biochar and hydrochar produced from pistachio (Pis-tacia vera) residues, and (ii) compare the effects of these chars on the physical quality of a sandy loam soil (classified as Typic Haplocalcids) in pistachio orchards. The physical and chemical characteristics of the biochar and hydrochar were determined. Scanning electron microscopy images showed that hydrochar had a spherical pore structure while the biochar had elliptical pores. The chars were different in terms of functional groups, ratio of elemental composition, and electrical conductivity. Both chars were added at the rates of 0, 1 and 2%w/w to the soil and incubated for nine months under wet and dry cycles. Then, soil physical indicators including bulk density (rho b), dry and wet aggregate stability, water retention curve, saturated water content (theta s), field capacity (theta FC) and plant available water (PAW) were determined. The results showed that the hydrochar and biochar application had no significant effect on the rho b and dry aggregate stability. However, the percentage of water -stable aggregates larger than 0.25 mm increased at the rate of 1%w/w of chars in comparison with the con-trol. The theta s, theta FC and PAW increased at both rates of chars when compared with the control. The residual water content (theta r) increased at the rate of 1%w/w of chars compared to the untreated soil. It can be concluded that chars of pistachio residues can affect soil physical quality indicators and pore size distribution by the means of different mechanisms like the effect of morphological characteristics of chars, forming complexes between the soil particles, and creating hydrophobic coatings on the soil particles and aggregates.