The anatomical characteristics of xylem and their relationship with temperature during the year can be studied at the cellular scale by using micro-coring technology and the wood anatomy method. In this study, we used Populus euphratica Oliv. trees with different groundwater burial depths in the lower Tarim River as the research subjects. Micro-core samples of Populus euphratica were collected near two sampling sites, TY1 and TY2, which have different groundwater burial depths. We analyzed the differences in xylem anatomical characteristics and their relationship with extreme temperatures under these varying groundwater conditions using wood anatomy methods. The results showed that the anatomical parameters at TY1, with a higher groundwater table, were greater than those at TY2, which had a lower groundwater table. Specifically, the conduit density, total conduit area, average conduit area and maximum conduit area of Populus euphratica xylem were significantly and positively correlated with both maximum and minimum temperatures. The principal components of xylem parameters at TY1, with the higher water table, were significantly and positively correlated with both maximum and minimum air temperatures. In contrast, the principal components of xylem parameters at TY2, with the lower water table, were not significantly correlated with either maximum or minimum air temperatures. The sensitivity analysis indicated that the sensitive maximum air temperature for the principal component parameter index change of Populus euphratica xylem was 34.1 °C, and the sensitive minimum air temperature was 16.1 °C. Therefore, different moisture conditions affected the sensitivity of xylem parameter growth to temperature, with the temperature threshold for Populus euphratica xylem growth being between 16.1 °C and 34.1 °C.