The apple (Malus×domestica Borkh.) is one of the commercially important fruit crops in the worldwide. The apple has a relatively long juvenile period (up to 4years) and a long reproductive period between the flower initiation and the mature fruit (14-16months), which prevent the fruit breeding. Therefore, the understanding of the flowering system is important to improve breeding efficiency in the apple. In this study, to examine the temporal and spatial expression patterns of the floral genes, MdTFL1, MdAP1 (MdMASD5), AFL2, and MdFT, we conducted in situ hybridization analysis in the apple shoot apex. In vegetative phase, MdTFL1 was expressed on the rib meristem zone. When vegetative meristem began converting into inflorescence meristem, the expression level of MdTFL1 was drastically decreased. At the early stage of inflorescence meristem, the expression levels of AFL2, MdFT, and MdAP1 were up-regulated in the leaf primordia and the upper region of cell layers on the shoot apex. In late stage, the expression levels of AFL2 and MdAP1 were up-regulated in the young floral primordia. At a more advanced stage, high expression of MdAP1 was observed in the inflorescence primordium through the inner layer of sepal primordia and the outer layer of receptacle primordia and floral axis. Our results suggest that AFL2, MdFT, and MdAP1 affect to convert from the vegetative meristem into the inflorescence meristem after the decline of MdTFL1 expression. After that, AFL2 and MdAP1 promote the formation of the floral primordia and floral organs.