Nepal is a multi-ethnic, multicultural, multi-religious, and multilingual country. The most spoken language is Nepali followed by several other ethnic languages.

The modern day Kingdom of Nepal was established in 1768 and started a campaign of unifying what would form the modern territories of Nepal. Some former territories had been lost due to the Anglo-Nepalese War and the Sino-Nepalese War. In the Sino-Nepalese war, the conflict ended with both victories and losses with the kingdom ultimately accepting tributary status with the Qing dynasty of China from 1792 to 1865. The Anglo-Nepalese War ended in British victory and resulted in the ceding some Nepalese territory in the Treaty of Sugauli. In a historical vote for the election of the constituent assembly, the Nepalese parliament voted to abolish the monarchy in June 2006. Nepal became a federal republic on (15 Jestha 2065) according to the Nepali Vikram Sambat calendar (2008 AD) and was formally renamed the Federal Democratic Republic of Nepal ending the 200-year-old reign of the Shah monarchs. From 8-9 September 2025 a widespread riot was caused by economic corruption and the banning of social media.

Toponymy Nepal's origin remains a mystery despite written records dating back to the fifth century A.D. Classical Indian sources mention Nepal, and Nepali stories delve into mythology, religion, and culture rather than providing a clear historical account.

The derivation of the word Nepal is a subject of various theories:

Most inhabitants of northern Nepal came from Tibet, where they herded sheep and produced wool. In Tibetan, ne means "wool" and pal means "house". Thus, Nepal is "house of wool". Newar people in the Kathmandu valley named their homeland Nepal, derived from "Nepa," meaning "country of the middle zone," highlighting its central location in the Himalayas. A popular theory is that Lepcha people associated Nepal with a "sacred or holy cave." According to Hindu mythology, Nepal derives its name from an ancient Hindu sage called Ne, referred to variously as Ne Muni or Nemi. According to Buddhist legend, the deity Manjushri drained the water from Nagadaha (a mythical lake believed to have filled the Kathmandu Valley). The valley became habitable, ruled by Bhuktaman a cow-herder, who took advice from the sage named "Ne". Pāla means "protector" or "taking care", so Nepal reflected the name of the sage who took care of the place.

Prehistory Prehistoric sites of palaeolithic, mesolithic and neolithic origins have been discovered in the Siwalik hills of Dang district. It is possible that the Dravidian people whose history predates the onset of the Bronze Age in the Indian subcontinent (around 3300 BCE) inhabited the area before the arrival of other ethnic groups like the Tibeto-Burmans and long before Indo-Aryans from across the border. The Tibeto-Burman peoples were likely the earliest significant settlers in Nepal, especially in the highlands and hilly regions. The Indo-Aryans arrived later, contributing significantly to the cultural and linguistic framework of Nepal, especially in the Kathmandu Valley and lowlands. The Dravidian presence in Nepal is minimal, as they primarily settled in the southern parts of India after Indo-Aryan expansion pushed them southward. Tharus who were Tibeto-Burmans mixed heavily with Indigenous tribes in the southern regions, are natives of the central Madhesh Province and Terai region of Nepal. The first documented tribes in Nepal are the Kirat people in the record of Kirat Kings from Kirata Kingdom from 800 BCE, which shows Kirats were recorded in Nepal last 2000 to 2500 years, with an extensive dominion, possibly reaching at one time to the delta of the Ganges. Other ethnic groups of Indo-Aryan origin later migrated to southern part of Nepal from Indo-Gangetic Plain of northern India.

Ancient history

Legends and ancient times Very little is known about the early history of Nepal.

The 14th-century chronicle Gopal Raj Vamshavali, records the early legendary rulers of Nepal as Gopālavaṃśi. They are said to have been followed by the Mahiṣapālavaṃśa.Shaha, Rishikesh. Ancient and Medieval Nepal (1992), p. 7. Manohar Publications, New Delhi. .

The Shakya clan formed an independent oligarchic republican state known as the Śākya Gaṇarājya during the late Vedic period (c. 1000 – c. 500 BCE) and the later so-called second urbanisation period (c. 600 – c. 200 BCE). Its capital was Kapilavastu, which may have been located in present-day Tilaurakot, Nepal. Gautama Buddha (c. 6th to 4th centuries BCE), whose teachings became the foundation of Buddhism, was the best-known Shakya. He was known in his lifetime as "Siddhartha Gautama" and "Shakyamuni" (Sage of the Shakyas). He was the son of Śuddhodana, the elected leader of the Śākya Gaṇarājya.

Emperor Ashoka was responsible for the construction of several significant structures in Nepal. These include the Ramagrama Stupa, Gotihawa Pillar of Ashoka, Nigali-Sagar Ashoka Pillar inscription, and the Lumbini pillar inscription of Ashoka. The Chinese pilgrims Fa-Hien (337 CE – c. 422 CE) and Xuanzang (602–664 CE) describe the Kanakamuni Stupa and the Asoka Pillar of currently Nepal region in their travel accounts. Xuanzang speaks of a lion capital atop the pillar, now lost. A base of a Pillar of Ashoka has been discovered at Gotihawa, a few miles from Nigali Sagar, and it has been suggested that it is the original base of the Nigalar Sagar pillar fragments. In 249 BCE, Emperor Asoka founded Lalitapatan city of Nepal.

Under the Guptas

During the time of the Gupta Empire, the Indian emperor Samudragupta recorded Nepal as a "frontier kingdom" which paid an annual tribute. This was recorded by Samudragupta's Allahabad Pillar inscription, which states the following in lines 22–23.

Licchavi dynasty

The kings of the Lichhavi dynasty (originally from Vaishali in modern-day India) ruled what is the Kathmandu valley in modern-day Nepal after the Kirats. It is mentioned in some genealogies and Puranas that the "Suryavansi Kshetriyas had established a new regime by defeating the Kirats". The Pashupati Purana mentions that "the masters of Vaishali established their own regime by confiding Kiratis with sweet words and defeating them in war". Similar contexts can be found in Himbatkhanda, which also mentions that "the masters of Vaishali had started ruling in Nepal by defeating Kirats". Different genealogies state different names of the last Kirati king. According to the Gopal genealogy, the Lichhavis established their rule in Nepal by defeating the last Kirati King 'Khigu', 'Galiz' according to the language-genealogy and 'Gasti' according to Wright genealogy.

Medieval history

Thakuri dynasty

After Aramudi, who is mentioned in the Kashmirian chronicle, the Rajatarangini of Kalhana (1150 CE), many Thakuri kings ruled over parts of the country up to the middle of the 12th century CE. Raghava Deva is said to have founded a ruling dynasty in 879 CE, when the Lichhavi rule came to an end. To commemorate this important event, Raghava Deva started the 'Nepal Era' which began on 20 October, 879 CE.

Gunakama Deva, who ruled from 949 to 994 CE, commissioned the construction of a big wooden shelter, built from the wood of a single tree, called Kasthamandapa. The name of the capital, 'Kathmandu', is derived from this. Gunakama Deva founded the town Kantipur (modern-day Kathmandu). The tradition of Indra Jatra started during his reign. Bhola Deva succeeded Gunakama Deva. The next ruler was Laxmikama Deva who ruled from 1024 to 1040 CE. He built the Laksmi Vihara and introduced the tradition of worshiping the Kumari; young prepubescent girls believed to be manifestations of the divine female energy or devi. He was succeeded by his son, Vijayakama Deva, who introduced the worship of the Naga and Vasuki. Vijaykama Deva was the last ruler of this dynasty. After his death, the Thakuri clan of Nuwakot occupied the throne of Nepal.

Bhaskara Deva, a Thakuri from Nuwakot, succeeded Vijayakama. He is said to have built Navabahal and Hemavarna Vihara. After Bhaskara Deva, four kings of this line ruled over the country. They were Bala Deva, Padma Deva, Nagarjuna Deva and Shankara Deva. Shankara Deva (1067–1080 CE) was the most illustrious ruler of this dynasty. He established the image of 'Shantesvara Mahadeva' and 'Manohara Bhagavati'. The custom of pasting the pictures of Nagas and Vasuki on the doors of houses on the day of Nagapanchami was introduced by him. Shankara Deva tried to pacify the Brahmins harassed by the Buddhists.

Bama Deva, a descendant of Amshuvarma, defeated Shankar Deva in 1080 CE. He suppressed the Nuwakot-Thankuris with the help of nobles and restored the old Solar Dynasty rule in Nepal for the second time. Harsha Deva, the successor of Bama Deva was a weak ruler. There was no unity among the nobles and they asserted themselves in their respective spheres of influence. Taking that opportunity Nanya Deva, a Karnat dynasty king, attacked Nuwakot from Simraungarh. The army successfully defended and won the battle. After Harsha Deva, Shivadeva the third ruled from 1099 to 1126 CE. He founded the town of Kirtipur and roofed the temple of Pashupatinath with gold. He introduced twenty-five paisa coins. After Sivadeva III, Mahendra Deva, Mana Deva, Narendra Deva II, Ananda Deva, Rudra Deva, Amrita Deva, Ratna Deva II, Somesvara Deva, Gunakama Deva II, Lakmikama Deva III and Vijayakama Deva II ruled Nepal in quick succession. Historians differ about the rule of several kings and their respective times. After the fall of the Thakuri dynasty, a new dynasty was founded by Arideva or Ari Malla, known as the 'Malla dynasty'.

Malla dynasty

Early Malla rule started with Ari Malla in the 12th century. Over the next two centuries, his kingdom expanded widely, into much of the Indian subcontinent and western Tibet, before disintegrating into small principalities, which later came to be known as the Baise Rajya.

Jayasthiti Malla, with whom commences the later Malla dynasty of the Kathmandu valley, began to reign at the end of the 14th century. This era in the valley is eminent for the various social and economic reforms. In this era, new forms of art and architecture was introduced. The monuments in Kathmandu valley which are listed in the UNESCO World Heritage Sites were built during Malla rule. In the 14th century, before Kathmandu was divided into three princely states, Araniko was sent to China upon the request of Abhaya Malla to represent skills of art and architecture, and he introduced the pagoda style of architecture to China and, subsequently, the whole of Asia. Yaksha Malla, the grandson of Jayasthiti Malla, ruled the Kathmandu valley until almost the end of the 15th century. After his demise, the valley was divided into four independent kingdoms—Kathmandu, Bhaktapur, Patan, and Banepa—in about 1484 CE. Banepa, however, soon came under the control of Bhaktapur. This division led the Malla rulers into internecine clashes and wars for territorial and commercial gains. Mutually debilitating wars gradually weakened them, which facilitated the conquest of the valley by Prithvi Narayan Shah of Gorkha. The last Malla rulers were Jaya Prakash Malla, Teja Narasingha Malla and Ranjit Malla of Kathmandu, Patan, and Bhaktapur respectively.

Karnats of Mithila

The Simroun, Simroon, Karnat or Dev dynasty originated with an establishment of a kingdom in 1097 CE headquartered at the medieval citadel of Simraungadh on the India-Nepal border: Nanya Dev, ruled 1097-1147 CE Ganga Dev, ruled 1147-1187 CE Narsingh Dev, ruled 1187-1227 CE Ramsingh Dev, ruled 1227-1285 CE Shaktisingh Dev, ruled 1285-1295 CE Harisingh Dev, ruled 1295-1324 CE