It was adapted as a 52-episode anime television series by Sunrise, which was broadcast between October 2006 and February 2008. The series is about Yoshimori Sumimura and Tokine Yukimura, heirs to rival families of kekkai (barrier magic) users, who must defend their school from the spirits drawn to the sacred land upon which it is built.
It was serialized in Shogakukan's shōnen manga magazine Weekly Shōnen Sunday from October 2003 to April 2011, with its chapters collected in 35 tankōbon volumes. Kekkaishi ( 結界師, 'Barrier Master') is a Japanese manga series written and illustrated by Yellow Tanabe.