How the traditional Chinese Dynasty can control its large scale land and people is always a significant issue in Sinology. Chinese popular religion is considered as playing an important role in this issue and the relevant researches are abundant. But almost all the relevant researches put their focus on gods worship and ancestor worship, few researches consider the role of ghosts worship. Qing Dynasty Taiwan is a migrant society and therefore orphan ghosts worship is a noticeable feature in popular religion. Although researchers notice the relationship between orphan ghosts worship and the migrant nature of Taiwan society, few of them pay attention to the relationship between ghosts worship and the rule of state. This article tries to point out that the state achieved its control of locality by bringing the ghosts worship into state’s worship system. Through the orphan worship institution, the state won the people’s appreciation on the one hand and constructed the ideology that Taiwan and Mainland belong to one wholeness on the other hand. This article finds that Chinese popular religion is constituted by not only the gods worship and ancestor worship but also ghosts worship. It is worth paying more attention when researchers consider the relationship between popular religion and state.