Ancestors of modern Kazakhs believed in Shamanism and Tengrism, then Zoroastrianism, Buddhism and Christianity including Church of the East.
Pre-Islamic beliefs-the worship of the sky, of the ancestors, and of fire, for example-continued to a great extent to be preserved among the common people, however.