In Shastri’s family, as with many Kayastha families, it was the custom in that era for children to receive an education in the Urdu language and culture. This is because Urdu/Persian had been the language of government for centuries, before being replaced by English, and old traditions persisted into the 20th century. Therefore, Shastri began his education at the age of four under the tutelage of a maulvi (a Muslim cleric), Budhan Mian, at the East Central Railway Inter college in Mughalsarai. He studied there until the sixth standard. In 1917, Bindeshwari Prasad (who was now head of the household) was transferred to Varanasi, and the entire family moved there, including Ramdulari Devi and her three children. In Varanasi, Shastri joining the seventh standard at Harish Chandra High School. At this time, he decided to drop his caste-derived surname of “Verma” (which is a traditional optional surname for all Kayastha families).