The play has twenty-one acts in five parts. It tells the story of a secret love affair between Zhang Sheng (张生), a young scholar, and Cui Yingying, the daughter of a chief minister of the Tang court. The two first meet in a Buddhist monastery. Yingying and her mother have stopped there to rest while escorting the coffin of Yingying's father to their native town. Zhang Sheng falls in love with her immediately, but is prevented from expressing his feelings while Yingying is under her mother's watchful eye. The most he can do is express his love in a poem read aloud behind the wall of the courtyard in which Yingying is lodging.
