Prologue: two kinds of pupil
A Jataka story tells of a teacher at Taxila who kept two kinds of pupil. His ordinary pupils had to wait on him all day, while those who paid fees were treated like his own children. Ideally, a teacher asked no fee at all. His students repaid him with reverent service and, only at the end of their studies, with a gift, traditionally a cow. Yet Manu makes it clear that there were teachers willing to teach the Vedas for money.
Learning in ancient India ran from such households to great institutions supported by kings and villages. The most famous of them, Nalanda in Bihar, drew students from China and South-East Asia. Its story, and the story of who could and could not study, tell us much about the society that produced it.
1. Learning by heart
In the ideal of the sacred texts, a student was trained in the home of a Brahmana teacher, or guru, whom he served with the utmost reverence. The main subject was the Veda. The teacher taught a few students seated on the ground around him, and for many hours a day they repeated verse after verse until one or more was mastered.
Students also studied the six Vedangas, the 'limbs of the Veda': ritual, phonetics, metre, etymology, grammar and astronomy. In post-Vedic times teachers might add philosophy, the Sacred Law or secular subjects such as astronomy, mathematics and literature.
2. University towns
Certain cities became renowned for their teachers, and A.L. Basham compares them to the university cities of medieval Europe. Varanasi was famous for religious teaching. Taxila, in the far north-west, laid more stress on secular study, and the Jatakas show young men coming there from all over India. Among the famous learned men connected with Taxila were Panini, Kautilya and Charaka. Around the beginning of the Christian era, Kanchi acquired a similar reputation in the south.
Real colleges seem to have existed in these 'university towns'. We read of an establishment at Varanasi with 500 students and a number of teachers, all maintained by charitable donations. The rules of the lawbooks were also relaxed. At Taxila, Basham notes, there were even married students who lived in their own homes and only visited their teachers.
3. The monastery as a school

With Buddhism and Jainism, education moved from the teacher's home to the monastery. Romila Thapar notes that Buddhist monasteries took students for about ten years, while those who wished to become monks stayed longer. Learning began orally but became literate, and monastery libraries kept manuscripts that were copied when they wore out. In the Middle Ages, in A.L. Basham's words, some of them developed into true universities.
4. Nalanda

Our picture of daily life there comes mainly from Hiuen Tsang, who spent more than five years at Nalanda studying the Yogachara doctrine. Under its aged abbot Shilabhadra, he says, Nalanda taught not only Buddhist novices but also the Vedas, Hindu philosophy, logic, grammar and medicine. A.L. Basham adds that candidates of other faiths who passed a strict oral examination were admitted. R.S. Sharma reads it differently: Nalanda's students were all monks, taught the Buddhist philosophy of the Mahayana school.
5. Patrons near and far
Nalanda lived on gifts. Its income came from villages granted for its upkeep, and Romila Thapar observes that great monasteries often received villages, which were easier to administer than the settlement of new land. Harsha was among its patrons, and under the Palas of Bengal and Bihar it continued to flourish.

R.S. Sharma notes that Nalanda's buildings were raised and renovated over some 700 years from the fifth century onwards. The end came with the Turks, who destroyed it in the course of the twelfth and thirteenth centuries.
6. Ghatikas, agraharas and mathas
Brahmanical learning built institutions of its own. Ghatikas, colleges attached to temples, were at first open to any of the twice-born. Romila Thapar notes that with royal patronage they could become centres of loyalty to a king or, with disaffected princes, of opposition. The colleges and monasteries of Kanchipuram acquired a fame almost equal to Nalanda's. From about the eighth century the matha, part rest-house, part feeding-centre and part school, emerged as a Brahmanical counterpart to the monastery. Sanskrit was the recognised medium of all these institutions, and it spread through its use in the agraharas, ghatikas and mathas.
The agraharas, villages granted to Brahmanas, were part of this world. Their copper-plate charters highlight the Vedic learning of the donees, naming their Vedic schools and giving them titles such as acharya, upadhyaya and pandita.
The verdict
Ancient India built a remarkable machinery of learning, from the memory techniques that preserved the Vedas to monastic universities that drew students across Asia. It was also a selective machinery: open mainly to the upper castes and to monks, carried on in Sanskrit at a distance from everyday life, and sustained by the revenues of granted villages. Nalanda's fame is deserved, but so is the question of who was left outside its walls.
Timeline
- Age of the Buddha Taxila and Varanasi are already famous for their teachers
- Beginning of the Christian era Kanchi gains a reputation for learning in the south
- 5th century AD The Buddhist university at Nalanda is set up, in R.S. Sharma's account
- 7th century AD Hiuen Tsang studies at Nalanda
- 670 I-tsing visits Nalanda
- c. 8th century The matha emerges as a Brahmanical centre of learning
- Pala period Nalanda, Vikramashila, Odantapuri and Somapuri flourish under Pala patronage
- 12th–13th century Nalanda is destroyed by the Turks
Key terms
- Vedanga
- One of the six auxiliary sciences of the Veda.
- Padapatha
- The recitation of the Veda word by word.
- Mahavihara
- A great monastery.
- Ghatika
- A college of Brahmanical learning attached to a temple.
- Matha
- A Brahmanical institution combining rest-house, feeding-centre and school.
- Agrahara
- A village granted to Brahmanas.