The Bcl-2-associated athanogene (BAG) family is a group of evolutionarily conserved cochaperones involved in diverse cellular functions. Here, ten putative SlBAG genes were identified in tomato. SlBAG2 and SlBAG5b have the same gene structure and conserved domains, along with highly similar identity to their homologs in Arabidopsis thaliana, Oryza sativa, and Triticum aestivum. The qPCR data showed that BAG2 and BAG5b were highly expressed in stems and flowers. Moreover, both genes were differentially expressed under diverse abiotic stimuli, including cold stress, heat stress, salt treatment, and UV irradiation, and treatments with phytohormones, namely, ABA, SA, MeJA, and ETH. Subcellular localization showed that SlBAG2 and SlBAG5b were located in the cell membrane and nucleus. To elucidate the functions in leaf senescence of BAG2 and BAG5b, the full-length CDSs of BAG2 and BAG5b were cloned, and transgenic tomatoes were developed. Compared with WT plants, those overexpressing BAG2 and BAG5b had significantly increased chlorophyll contents, chlorophyll fluorescence parameters and photosynthetic rates but obviously decreased ROS levels, chlorophyll degradation and leaf senescence related gene expression under dark stress. Conclusively, overexpression SlBAG2 and SlBAG5b could improve the tolerance of tomato leaves to dark stress and delay leaf senescence.