The sugar transporter protein (STP) family has been shown to play important roles in plant growth, development, and stress response. However, it has not been studied in cotton compared to other major crops. In this study, we identified 90 STP genes from four cotton species, performed bioinformatic analysis, and focused on the role of GhSTP18 in salt stress. According to our results, cotton STP proteins were divided into four subgroups according to the phylogenetic tree. A synteny analysis suggested that whole‐genome duplication (WGD) and segmental duplication were key drivers in the expansion of the STP gene family. The transcriptomic data analysis showed that 29 GhSTP genes exhibited sink‐specific expression. Quantitative real time‐polymerase chain reaction (qRT‐PCR) analyses revealed that expression of GhSTP18 was induced by salt treatment, heat treatment, cold treatment, and drought treatment, and continuously increased during a salt stress time course. Notably, GhSTP18 encodes a plasma membrane‐localized galactose transporter. Suppression of GhSTP18 transcription by a virus‐induced gene silencing (VIGS) assay reduced sensitivity to salt stress in cotton, indicating that GhSTP18 negatively regulates plant salt tolerance. These results provide an important reference and resource for further studying and deploying STP genes for cotton improvement.