In Rosaceae, incompatible pollen can penetrate into the style during the gametophytic self-incompatibility response. It is therefore considered a stylar event rather than a stigmatic event. In this study, we explored the differences in gene expression between compatibility and incompatibility in the early stage of pollination. The self-compatible pear variety “Jinzhuili” is a naturally occurring bud mutant from “Yali”, a leading Chinese native cultivar exhibiting typical gametophytic self-incompatibility. We collected the styles of ‘Yali’ and ‘Jinzhuili’ at 0.5 and 2 h after self-pollination and then performed high-throughput sequencing. According to the pathway enrichment analysis of the differentially expressed genes, “plant-pathogen interaction” was the most represented pathway. Quantitative PCR was used to validate these differential genes. The expression levels of genes related to pollen growth and disease inhibition, such as LRR (LEUCINE-RICH REPEAT EXTENSIN), resistance, and defensin, differed significantly between compatible and incompatible pollination. Interestingly, at 0.5 h, most of these genes were upregulated in the compatible pollination system compared with the incompatible pollination system. Calcium ion transport, which requires ATPase, also demonstrated upregulated expression. In summary, the self-incompatibility reaction was initiated when the pollen came into contact with the stigma.