Esperaunce

A large hemispherical stone mound on a drum, enclosed by a stone railing, with a carved gateway at the front.

Ancient India · Art, Architecture and Building

From stupa to temple

Photograph by Bernard Gagnon, CC BY-SA 3.0, via Wikimedia Commons.

The Archives/Ancient India/Art, Architecture and Building

You cannot go inside a stupa. There is nothing in it but a relic and rubble, and the ritual is to walk around the outside. Six centuries later the whole point of the building is the dark room at the middle.

Indian monumental religious architecture begins with the stupa. A stupa is a solid hemispherical mound on a circular drum, with a railing round the top enclosing a small square platform from which a mast rises carrying tiered umbrellas. It is surrounded at ground level by a stone railing with gateways at the cardinal points, enclosing a path.

It is not a building. There is no interior, no door and no room. It holds a relic deposit at or below its centre, and it is otherwise filled with earth, rubble and brick.

The ritual is pradakshina, walking round it clockwise, keeping the right shoulder towards it. The Hindu temple, which emerges much later, is the opposite kind of object: its entire purpose is an interior, a small dark chamber holding an image, approached through a sequence of increasingly enclosed spaces. Between those two lies six hundred years of building, and the change from one to the other is a change in what people thought they were doing when they worshipped.

❦

On this page

The stupa

The earlier form and its development need setting out first. The origin is funerary. The word means heap, and pre-Buddhist burial mounds existed. The Buddhist stupa begins with the division of the Buddha’s cremated remains, which the tradition says were distributed among eight claimants who each raised a mound.

A reconstructed red sandstone stupa railing with carved medallions and a life-size female figure on a corner post, in a museum.
The railing of the Bharhut stupa, about 100 BCE, rebuilt in the Indian Museum in Kolkata. Its reliefs carry inscriptions naming the donors and the scenes.Photograph by G41rn8, CC BY-SA 4.0, via Wikimedia Commons.

Ashoka is credited with opening these and redistributing the relics among a very large number of new stupas, which is a legend with a real core: stupa-building on a large scale does begin in the Mauryan period. The great surviving examples are at Sanchi, Bharhut, Amaravati, Nagarjunakonda, Bhattiprolu, Sarnath and, in enormous form, at Peshawar under Kanishka. The Great Stupa at Sanchi is the best preserved. Its Mauryan brick core was enlarged in stone in the second century BC to a hemisphere about thirty-six metres across, faced with dressed stone, with a stone railing and four carved gateways added in the first century BC.

The gateways, the toranas, carry the sculpture: jataka scenes, the events of the Buddha’s life shown by symbol, processions, guardian figures, and the bracket yakshis leaning out under the crossbars. The railings themselves are stone reproductions of timber fences, with uprights, lenticular crossbars and a coping, mortised together in a way no stone structure needs.

What a stupa was for

The ritual logic explains the form and it is different from anything a temple does. The relic makes the place. A stupa is a container, and the veneration is of what is inside, which the worshipper can never see or approach.

A tall stone gateway of two uprights and three curved crossbars, every surface carved with figures, elephants and scenes.
The north gateway at Sanchi, carved about the first century BC. The ivory workers of Vidisha claimed one of the crossbars in an inscription.Photograph by Biswarup Ganguly, CC BY 3.0, via Wikimedia Commons.

The circumambulation is the act. Walking round a sacred object keeping it on the right is an old Indian gesture of respect, performed for teachers, fires and kings as well as for relics. The railing defines the path and marks the boundary between the ordinary ground and the sacred enclosure. The gateways are entrances to a circuit, not to a building.

Because the ritual is performed outside, the sculpture is on the outside, at eye level on the gateways and the railings, where people walking past will see it. And because the object is a container, size is the variable that matters. Stupas get larger, get encased in later and bigger shells, and acquire more elaborate railings, but they do not acquire rooms.

The reliquaries themselves, small caskets of crystal, gold, silver and stone, are sometimes inscribed with the donor’s name and are among the most precisely datable Buddhist objects.

The shrine appears

The change begins inside Buddhism, which is the part usually skipped. In the rock-cut monasteries, the vihara originally had no shrine: a square hall with cells for monks around it, and nothing at the back but another cell. By the fifth century that has changed. At Ajanta the later viharas have a shrine chamber cut into the rear wall, containing a large seated Buddha image, with an antechamber before it.

Looking up inside a rock-cut hall at a ribbed wooden roof and carved capitals above a horseshoe window.
The great hall at Karla in Maharashtra, first century. The teak ribs in the roof are original, and the hall copies a timber building in stone.Photograph by Oleg Yunakov, CC0, via Wikimedia Commons.

The monastic hall has acquired a sanctuary, and the residents now have an image to face. That shift follows the invention of the Buddha image, treated elsewhere in this set. Once the figure exists, it needs somewhere to be, and somewhere to be is a room.

The chaitya halls change too. The early ones enclose a plain stupa; the later ones have a Buddha figure carved on the front of the stupa, so that the object of veneration has a face and a direction. A directional object changes the ritual. You can walk around a relic mound from any side. You approach an image from the front.

The earliest temples

The Hindu temple in durable material begins late, and the reason is instructive. Vedic religion needed no building. The sacrifice was performed in the open, on ground prepared for the occasion, with altars built of brick for the rite and abandoned after it.

A small square stone temple on a high plinth with a broken tower above, approached by a flight of steps.
The Dashavatara temple at Deogarh, about 500. It is one of the earliest surviving stone temples with a tower, and the tower has lost its top.Photograph by Work2win, CC BY-SA 4.0, via Wikimedia Commons.

Image worship, puja, is a different practice with different requirements: a permanent image, a permanent house for it, daily attendance, offerings of food, flowers, water and light, and a priest to perform them. That practice grows through the early centuries AD, and temples grow with it, initially in wood and brick and then in stone. The earliest surviving stone examples are small and simple. The Gupta-period group includes Sanchi Temple 17, a flat-roofed square cell with a pillared porch, and the Dashavatara temple at Deogarh, of about 500, which adds a tower.

A tall brick temple with a stepped tower and a small arched entrance, set in a grassy enclosure.
The brick temple at Bhitargaon near Kanpur, fifth century, one of the oldest surviving temples with a tower.Photograph by Amarjitchaudhary, CC BY-SA 4.0, via Wikimedia Commons.

Deogarh is the important one. It has a square sanctuary on a high plinth, a shikhara above it now broken, a richly carved doorway, and large relief panels on three outer walls. The elements of every later north Indian temple are present: the cell, the tower, the plinth, the carved door frame and the wall niches.

The logic of the temple

The developed form has an internal argument and it is worth following. The sanctuary is the garbhagriha, the womb-chamber. It is small, square, dark, and windowless, and it holds the image.

A terracotta panel of a youthful god forcing his arm into the mouth of a rearing horse.
Krishna killing the horse demon Keshi, a Gupta terracotta of the fifth century. Brick temples of the period were faced with panels like this.Metropolitan Museum of Art, New York, CC0.

Above it rises the shikhara, a tower whose mass is solid, in the north curvilinear with a ribbed profile, in the south a stepped pyramid of diminishing storeys. In front of the sanctuary is a hall, the mandapa, and in the developed temples a sequence of halls, porches and enclosures, each less enclosed than the last. The movement inwards is therefore a movement from light to dark, from large to small, from public to restricted, from ornamented to plain, ending in a bare cell with an image.

The exterior carries everything else: bands of moulding, niches holding subsidiary deities, guardian figures at the door, river goddesses on the jambs, and on the great temples a full programme of sculpture. The building is a mountain in one reading, the god’s palace in another, and a diagram of the cosmos in the texts. It is also simply the house where a god lives and is looked after, which is what the daily ritual actually treats it as.

The rules for building

A technical literature grew up alongside the practice and it is worth describing, with a caution attached. The vastushastra and shilpashastra texts set out how a temple is to be laid out: the selection and testing of the site, the orientation by shadow, the grid of squares over which the plan is set, the proportional system relating every dimension to the width of the sanctuary, and the iconography appropriate to each position on the wall.

A small rock-cut shrine with a pyramidal roof and a pillared porch set into a cliff below a fortress.
The Chaturbhuj temple at Gwalior. An inscription of 876 inside it writes the number 270 with a round zero, one of the earliest dated zeros in India.Photograph by Ms Sarah Welch, CC0, via Wikimedia Commons.

The vastupurushamandala, a square grid with a figure laid over it, assigns deities to each cell and determines where walls and doors may fall. The proportional systems are genuinely sophisticated. Heights are derived from the plan by fixed ratios, and the curve of a northern shikhara is generated by a rule rather than drawn freehand, which is why the profile is consistent across regions and centuries.

The texts also specify the sculptural programme: which deity goes in which niche, on which side, in what posture, with what attributes and how many arms. The caution is that most of these texts are later than most of the buildings. They were compiled from the sixth century onwards and the major compendia are medieval, so they codify a practice rather than initiate it.

They are still useful, because temple building in India was a hereditary craft transmitted in families of sthapatis, and the treatises record what those families did. Where a surviving building can be measured against a text, the proportional rules generally hold, which suggests the codification was accurate.

The southern line

The other tradition developed in parallel and its early stages are unusually well preserved. The Pallavas of Kanchipuram began in the rock. At Mamallapuram, on the Tamil coast, the seventh-century work includes cave temples cut into the granite and the rathas, monolithic shrines carved whole out of standing boulders.

A stepped pyramidal stone temple tower on a low platform near the sea, with smaller shrines beside it.
The Shore Temple at Mamallapuram, built in stone about 700. Pallava builders moved from cutting rock to assembling masonry within a generation.Photograph by Rainer Halama, CC BY-SA 4.0, via Wikimedia Commons.

The rathas are the key evidence. Each is a different type of shrine, in stone, at small scale: one square with a stepped pyramidal roof, one apsidal with a barrel vault, one with a wagon roof. They are models of building types, most of which were then being built in wood and brick and none of which survives.

Also at Mamallapuram is the enormous open-air relief conventionally called the Descent of the Ganges, carved on two faces of a split boulder, with elephants at life size and a fissure down the middle representing the river. Within a generation the Pallavas moved from cutting to building. The Shore Temple, of about 700, is structural masonry, and after it the tradition is a building tradition.

The southern form then develops its own logic: the stepped pyramidal vimana over the sanctuary, and later the enormous gateway towers, the gopurams, which eventually outgrow the sanctuary tower entirely.

What actually changed

A closing assessment, because the architectural sequence tracks a change in religion. The stupa serves a religion organised around a dead teacher, his relics, and a monastic community. Its object of veneration is hidden, its ritual is performed by the community outside, and its form is a container.

A large rock relief of a boar-headed god lifting a small female figure, with rows of small figures behind.
Vishnu as the boar Varaha rescuing the earth, Udayagiri in Madhya Pradesh, about 401. It was carved under Chandragupta II.Photograph by Photo Dharma, CC BY 2.0, via Wikimedia Commons.

The temple serves a religion organised around a living god, present in an image, attended daily by a priest who wakes, bathes, dresses, feeds and puts him to bed. Its object of veneration is present and visible, its ritual is performed inside by a specialist, and its form is a house. Between the two lies the rise of devotional religion across all the Indian traditions: bhakti in its Hindu form, the cult of images in Buddhism and Jainism, and the shift from merit-by-donation to worship-by-attendance.

The buildings changed because the transaction changed. A stupa is a monument to somebody who has gone. A temple is a residence for somebody who is there.

Everything about the architecture follows from that, including the fact that a stupa can be any size and a garbhagriha is always small, because a monument is measured against the world and a room is measured against a person.

Sources

Ancient

  • The Great Stupa at Sanchi, its railings, gateways and inscriptions
  • The Gupta-period temples at Sanchi, Tigawa, Bhitargaon and Deogarh
  • The Pallava monuments at Mamallapuram; the Vastushastra and Shilpashastra literature

Modern

  • Michael Meister and M. A. Dhaky, editors, Encyclopaedia of Indian Temple Architecture
  • Susan Huntington, The Art of Ancient India, 1985
  • George Michell, The Hindu Temple, 1977
  • Vidya Dehejia, Indian Art, 1997

New civilisations are announced by email as they are written.

Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.

Images are credited individually; rights remain with their holders.

© 2026 Esperaunce. All rights reserved.