The concubine Shen Zhiwei, a salt transport envoy from the south of the Yangtze River, was forced to marry into the East Palace as Liangdi on behalf of her eldest sister. On her wedding night, she discovered that the prince was poisoned by a strange poison, and she herself fell into a trap in the palace. Relying on the "Notes of Shen Nong's Baicao" left by her biological mother and the Xuanji embroidered handkerchief that hid the secrets of the previous dynasty, she used pharmacology to see through the conspiracy, saved the lives of innocent palace ladies on a rainy night, and formed her own force, the "Xuanji Group."
Within the walls of the Vermilion Palace, she dealt with the poisonous and unpredictable prince, the ruthless queen who was proficient in illusions, and the disabled and ambitious Ninth Prince. From the fatal frame-up of "Fake Pregnancy Competition" to the "God's Punishment" game in the Cold Food Festival, she uses medicine as an edge and wisdom to break through the game, struggling to survive on the verge of life and death.