After the failure of Yongzhen Innovation,Liu Zongyuan was demoted to Yongzhou,which made great changes in his space and had a great influence on his literary creation.Yong Zhou Ba Ji is Liu Zongyuan's representative when he demoted Yongzhou.Therefore,studying Yong Zhou Ba Ji from the perspective of space is helpful to dig deeper into his literary creation.There are three layers of space in Yong Zhou Ba Ji:living space,travel space and text space.Living space is the basis of creation,providing Liu Zongyuan with the possibility of travel and creating a Buddhist ideological environment.The travel space,which is greatly different from the real space,truly reflects the inner pain hidden under the joy of the landscape of Yong Zhou Ba Ji.The textual space is Liu Zongyuan's self construction.Through self-reference writing,he constructed a self-centered textual space in Yong Zhou Ba Ji,and transformed the space,their own ideal spirit and personality spirit in it.