At the time of the British Mandate for Palestine the villagers changed the name of the village to al-Khayriyya to distinguish it from the newly-established neighbouring Jewish town of Bnei Brak. The population was predominantly Muslim with twenty Christians. A school for boys was established in 1920, and it had a plot of 8 dunums of land attached to it for agricultural training. A school for girls was founded in 1945. By 1946, there were 183 boys and 69 girls in these schools.