Yangbajin (also spelled Yangbajing) is a Tibetan Buddhist monastery in Yangpachen, in the Lhasa Prefecture of Tibet. It is historically the seat of the Shamarpasof Karma Kagyu. It is about 85 km southeast of Lhasa "on the northern side of the Lhorong Chu valley above the Lhasa-Shigatse highway.
It was founded around 1504 by the 4th Shamarpa who on finding the site proclaimed, "There shall be a monastery built on the left side of the Yangpachen as the support for Kagyu teachings and symbol of everlasting victory".
"Yangpachen Gompa was founded by Murab Jampa Tujepel in 1490 under the auspices of the fourth Sharmapa and financed by the Prince of Rinpung. It was the residence of the Sharmapas for only 300 years.... When the Gorkhalis under Pritvi Narayan Shah, king of the newly unified Kingdom of Nepal, invaded Tibet in 1792 to be defeated by a Chinese army, the tenth Sharmapa was accused of traitorous support of the Nepalis. Yangpachen was confiscated by the Gelukpas, the Sharmapa's hat was buried and recognition of future incarnations was prohibited. In Nepal the present thirteenth Sharmapa has resumed his full status amongst the Karma Kagyupas."