Afterward, similar festivals have increased for prevention of plagues or disasters. "The Engisiki" describes that, when guests from foreign countries entered the capital and went back to their countries, various Sakai Festivals were held such as for gyoko (Emperor's going out) or for leaving the capital for Saigu, including "Kyujo Yosumi Ekijin-sai Festival" performed around the periphery of the dairi (Imperial Palace.)
以後、疫病や災厄対策のために同様の祭事が増やされ、『延喜式』では内裏の外周で行う「宮城四隅疫神祭」をはじめ、外国からの賓客の入京・帰国時、行幸や斎宮下向など様々な堺祭が行われたことが記されている。