The foundation of the church in honor of the Kazan Icon of the Mother of God in the village of Kazanskoye (until 1864 the village of Merya) dates back to the mid-19th century. The western part of the Pavlovsky Posad district, where the modern village of Kazanskoye is located, was then covered by the Ignatyevskaya volost of the Bogorodsky district. From an ecclesiastical and administrative point of view, these territories were part of the flock of the cathedral in honor of the Resurrection of the Word in Pavlovsky Posad. The village of Merya received its name from the name of the Finno-Ugric tribe of Merya that lived here in ancient times: the area of the Meryan settlement covered the lands of modern Vladimir, Ivanovo and the eastern part of Moscow regions.
The brick Kazan Church with the chapels of St. Nicholas and Sergius of Radonezh was built by 1863 using funds from merchants F.E. and Ya.E. Rudakov, S.I. Saltykov and parishioners, in pseudo-Russian style. The bell tower was erected in 1882.