At the 2008 Summer Olympics in Beijing, Yang extended her swimming program to four events, including the butterfly double. On the first day of the competition, she swam the second heat to third place and forty-third overall in the 100 m butterfly at 1:01.60, edging out Turkey's Iris Rosenberger in a sprint race by close 0.07-second margin. The following day, Yang placed fortieth in the 400 m freestyle, with a time of 4:24.78, and was able to attain her well-improved time of 2:02.84, for a 37th-place finish in the 200 m freestyle. For her final event, 200 m butterfly, Yang swam in the second heat, against six other competitors including Singapore's Tao Li, who placed fifth in the 100 m butterfly final. She finished the race in sixth place by approximately one third of a second (0.33), behind Tao, with a time of 2:13.26. After placing twenty-ninth in the overall rankings of her final event, Yang, however, failed to advance into the later rounds.