Salt and drought are considered two major abiotic stresses that have a significant impact on plants. Plant NAC (NAM, ATAF1/2, and CUC2) transcription factors (TFs) have been shown to play vital roles in plant development and responses to various abiotic stresses. ThNAC4, a NAC gene from Tamarix hispida involved in salt and osmotic stress tolerance, was identified and characterized in this study. According to a phylogenetic study, ThNAC4 is a member of NAC subfamily II. Subcellular localization analysis showed that ThNAC4 is located in the nucleus, and transcriptional activation experiments demonstrated that ThNAC4 is a transcriptional activator. Transgenic Arabidopsis plants overexpressing ThNAC4 exhibited improved salt and osmotic tolerance, as demonstrated by improved physiological traits. ThNAC4-overexpressing and ThNAC4-silenced T. hispida plants were generated using the transient transformation method and selected for gain- and loss-of-function analysis. The results showed that overexpression of ThNAC4 in transgenic Tamarix and Arabidopsis plants increased the activities of antioxidant enzymes (SOD, POD, and GST) and osmoprotectant (proline and trehalose) contents under stress conditions. These findings suggest that ThNAC4 plays an important physiological role in plant abiotic stress tolerance by increasing ROS scavenging ability and improving osmotic potential.