Fruit ripening in tomato is a highly coordinated developmental process accompanied with fruit softening, which is closely associated with cell wall degradation and remodeling. Xyloglucan endotransglucosylase/hydrolases (XTHs) are known to play an essential role in cell wall xyloglucan metabolism. Tomato XTH5 exhibits xyloglucan endotransglucosylase (XET) activity in vitro, but the understanding of its biological role in fruit ripening remains unclear. In this study, we revealed that SlXTH5 is highly expressed in mature fruits. Knockout mutant plants of SlXTH5 were generated by CRISPR/Cas9 gene editing strategy in tomato cultivar Micro-Tom. The mutant fruits showed accelerated transition from unripe to ripe process and earlier ethylene accumulation compared to wild type fruits. Although the mutation of SlXTH5 did not affect the size, weight and number of fruits, it indeed increased fruit firmness and extended shelf life, which is probably attributed to the increased cell layer and cell wall thickness of pericarp tissue. Pathogen infection experiment showed the enhanced resistance of mutant fruits to Botrytis cinerea. These results revealed the role of SlXTH5 in fruit ripening process, and provide new insight into how cell wall metabolism and remodeling regulate fruit softening and shelf life.