The plant-specific transcription factor gene family, YABBY, plays an important role in plant development and stress response. Although YABBY genes have been identified in numerous species, a comprehensive characterization of YABBYs in tea tree and oil tea has been lacking. In this study, ten and three YABBY genes were identified in Camellia sinensis and C. oleifera, respectively. YABBY proteins could be divided into five subfamilies. Most YABBY genes in the same clade had similar structures and conserved motifs. Protein evolutionary analysis revealed that FIL/YAB3 displayed high conservation in all positions, followed by INO, YAB2, YAB5, and CRC. Specific site analysis suggested that the YABBY family was polyphyletic during the evolution. Compared to C. oleifera, two segmentally duplicated gene pairs were formed in C. sinensis during recent WGD events generated 30.69 and 45.08 Mya, respectively. Cis-acting element indicated that most YABBY genes contain box4, ARE, and MYB elements. A total of 120 SSR loci were found within CsYABBYs, consisting of six types, while 48 SSR loci were identified within CoYABBY, consisting of three types. Transcriptome results revealed that CRC and INO clades were specifically expressed in floral organs. The expression of CsYABBY10 and CsYABBY5 was significantly up-regulated under drought and salt treatments, respectively, as confirmed by qRT-PCR. CoYABBY genes were more susceptible to salt stress, as CoYABBY3 increased by about 15-fold. Furthermore, functional differentiation may have occurred in duplicated genes. These discoveries provide important information for further research on YABBYs in tea tree and oil tea.