The early history of Switzerland begins with the earliest settlements up to the beginning of Habsburg rule, which in 1291 gave rise to the independence movement in the central cantons of Uri, Schwyz, and Unterwalden and the growth of the Old Swiss Confederacy during the Late Middle Ages.

Prehistory

Paleolithic to Mesolithic

A hand-axe fashioned by Homo erectus has been found in Pratteln, which has been dated to 300,000 years ago.Archäologie Baselland Neanderthal presence is known from the Grotte de Cotencher in Neuchâtel, dating to 70,000 years agoSwiss Info - Meet a Neanderthal Woman from one of Europe's Oldest Cave Sites and from the caves of Wildkirchli in the Appenzell Alps, dated to about 40,000 years ago.

Anatomically modern humans reached Central Europe 30,000 years ago,Before between 1,300 and 1,200 generations ago according to a simulation in (Figure 2) but most of what is now Switzerland was covered by glaciers during the Last Glacial Maximum (Würm glaciation). The ice-free parts, northern Switzerland along the High Rhine and part of the Aar basin, were exposed to permafrost.

Human habitation in the Swiss Plateau can be shown for the beginning Mesolithic, in Wetzikon-Robenhausen beginning around 10,000 years ago.

Neolithic to Copper Age

The Neolithic reached the Swiss plateau before 7,000 years ago (late 6th millennium BC), dominated by the Linear Pottery culture.

The area was relatively densely populated, as is attested to by the many archeological findings from that period. Remains of pile dwellings have been found in the shallow areas of many lakes, attributed to archaeological cultures such as Cortaillod, Pfyn and Horgen. Artifacts dated to the 5th millennium BC were discovered at the Schnidejoch in 2003 to 2005. In a later NZZ article (21 August 2008), the date is revised to c.4500BC instead of c.3000BC The pre-Indo-European population of the Alpine region is typified by Ötzi the Iceman, an individual of the late 4th millennium BC found in the Austrian Alps (some 25 km east of the Swiss border). The Bell Beaker culture marks the transition from the Chalcolithic to the early Bronze Age.

Bronze Age

In the 3rd millennium BC, Switzerland lay on the south-western outskirts of the Corded Ware horizon, entering the early Bronze Age (Bell Beaker culture) in step with Central Europe, in the late centuries of the 3rd millennium. The Early Bronze Age Rhône culture in western Switzerland (-1500 BC) developed from the Bell Beaker culture and was closely related to the Unetice culture in central Europe. This was followed by the Tumulus culture (-1300 BC) in the Middle Bronze Age, and the Urnfield culture in the Late Bronze Age (). Settlements included lakeside villages and fortified settlements on elevated sites. The dating from the 16th-15th century BC, is a unique find from the Tumulus culture period. Described as "the earliest metal representation of a human body part ever found in Europe", it may have been a ritual object, or mounted on a standard like similar metal hands known from the Iron Age, or possibly a prosthesis. It was found in a grave along with a bronze hair-ring, pin and dagger. The hand had a golden bracelet or cuff decorated with solar motifs.

Iron Age

The Swiss plateau lay in the western part of the Early Iron Age Hallstatt culture,N. Müller-Scheeßel, Die Hallstattkultur und ihre räumliche Differenzierung. Der West- und Osthallstattkreis aus forschungsgeschichtlicher Sicht (2000) and it participated in the early La Tène culture (named for the type site at Lake Neuchâtel) which arose out of the Hallstatt background from the 5th century BC.La Tène site description

By the final centuries BC, the Swiss plateau and Ticino were settled by Continental Celtic speaking peoples (Gauls): the Helvetii and Vindelici inhabited the western and eastern part of the Swiss plateau, respectively, and the Lugano area by the Lepontii. The interior Alpine valleys of eastern Switzerland (Grisons) were inhabited by the non-Celtic Raetians.

The distribution of La Tène culture burials in Switzerland indicates that the Swiss plateau between Lausanne and Winterthur was relatively densely populated. Settlement centres existed in the Aare valley between Thun and Bern, and between Lake Zurich and the Reuss. The Valais and the regions around Bellinzona and Lugano also seem to have been well-populated; however, those lay outside the Helvetian borders.

Almost all the Celtic oppida were built in the vicinity of the larger rivers of the Swiss plateau. About a dozen oppida are known in Switzerland (some twenty including uncertain candidate sites), not all of which were occupied during the same time. For most of them, no contemporary name has survived; in cases where a pre-Roman name has been recorded, it is given in brackets.Andres Furger-Gunti: Die Helvetier: Kulturgeschichte eines Keltenvolkes. Neue Zürcher Zeitung, Zürich 1984, pp. 50–58. The largest were the one in Bern-Engehalbinsel (presumably Brenodurum, the name recorded on the Bern zinc tabletBern, Engehalbinsel, Römerbad ), on the Aare, and the one in Altenburg-Rheinau on the Rhine. Of intermediate size were those of Bois de Châtel, Avenches (abandoned with the foundation of Aventicum as the capital of the Roman province), Jensberg (near vicus Petinesca, Mont Vully, all within a day's march from the one in Bern, the Oppidum Zürich-Lindenhof at the Lake Zurich–Limmat–Sihl triangled Lindenhof hill, and the Oppidum Uetliberg, overlooking the Sihl and Lake Zurich shore. Smaller oppida were at Geneva (Genava), Lausanne (Lousonna) on the shores of Lake Geneva, at Sermuz on the upper end of Lake Neuchâtel, at Eppenberg and Windisch (Vindonissa) along the lower Aar, and at Mont Chaibeuf and Mont Terri in the Jura Mountains, the territory of the Rauraci.

A female who died in about 200 BC was found buried in a carved tree trunk during a construction project at the Kern school complex in March 2017 in Aussersihl. Archaeologists revealed that she was approximately 40 years old when she died and likely carried out little physical labor when she was alive. A sheepskin coat, a belt chain, a fancy woolen dress, a scarf and a pendant made of glass and amber beads were also discovered with the woman.

Roman era

In 58 BCE, the Helvetii tried to evade migratory pressure from Germanic tribes by moving into Gaul, but were stopped and defeated at Bibracte (near modern-day Autun) by Julius Caesar's armies and then sent back. In 15 BCE, Tiberius and Drusus conquered the Alps, and the region became integrated into the Roman Empire:Encyclopædia Britannica Online: Roman Switzerland accessed November 13, 2008 the Helvetii settlement area became part first of Gallia Belgica and later of the province of Germania Superior, while the eastern part was integrated into the Roman province of Raetia.

The following 300 years saw extensive Roman settlement, including the construction of a road network and the founding of many settlements and cities. The center of Roman occupation was at Aventicum (Avenches), other cities were founded at Arbor Felix (Arbon), Augusta Raurica (Kaiseraugst near Basel), Basilea (Basel), Curia (Chur), Genava (Geneva), Lousanna (Lausanne), Octodurum (Martigny, controlling the pass of the Great St. Bernard), Salodurum (Solothurn), Turicum (Zürich) and other places. Military garrisons existed at Tenedo (Zurzach) and Vindonissa (Windisch).

The Romans also developed the Great St. Bernard Pass beginning in the year 47, and in 69 part of the legions of Vitellius used it to traverse the Alps. The passes were expanded from dirt trails to narrow paved roads. Between 101 and 260, the legions moved out of the region, allowing trade to expand. In Raetia, Roman culture and language became dominant. Nearly 2,000 years later, some of the population of Graubünden still speak Romansh which is descended from Vulgar Latin.

In 259, Alamanni tribes overran the Limes and caused widespread devastation of Roman cities and settlements. The Roman empire managed to reestablish the Rhine as the border, and the cities on Swiss territory were rebuilt. However, it was now a frontier province, and consequently the new Roman cities were smaller and much more fortified.

Christianization and post-Roman era

In the late Roman period in the 3rd and 4th centuries, the Christianization of the region began. Legends of Christian martyrs such as Felix and Regula in Zürich probably are based on events that occurred during the persecution of Christians under Diocletian around 298. The story of the Theban Legion, which was martyred near Saint Maurice-en-Valais in Valais, figures into the histories of many towns in Switzerland.

The first bishoprics were founded in the 4th and 5th centuries in Basel (documented in 346), Martigny (doc. 381, moved to Sion in 585), Geneva (doc. 441), and Chur (doc. 451). There is evidence from the 6th century for a bishopric in Lausanne, which may have been moved from Avenches.

With the fall of the Western Roman Empire, Germanic tribes moved in. Burgundians settled in the Jura, the Rhône valley and the Alps south of Lake Geneva; while in the north, Alemannic settlers crossed the Rhine in 406 and slowly assimilated the Gallo-Roman population, or made it retreat into the mountains. Burgundy became a part of the Frankish kingdom in 534; two years later, the dukedom of Alemannia followed suit.

The Burgundy kings furthered the Christianization through newly founded monasteries, e.g. at Romainmôtier or St. Maurice in the Valais in 515. In the Alaman part, only isolated Christian communities continued to exist; the Germanic faith including the worship of Wuodan was prevalent. The Irish monks Columbanus and Gallus re-introduced Christian faith in the early 7th century. The Bishopric of Konstanz also was founded at that time.

Switzerland in the Middle Ages

Early Middle Ages

Under the Carolingian kings, the feudal system proliferated, and monasteries and bishoprics were important bases for maintaining the rule. The Treaty of Verdun of 843 assigned the western part of modern Switzerland (Upper Burgundy) to Lotharingia, ruled by Lothair I, and the eastern part (Alemannia) to the eastern kingdom of Louis the German that would become the Holy Roman Empire. The boundary between Alamania, ruled by Louis, and western Burgundy, ruled by Lothar, ran along the lower Aare, turning towards the south at the Rhine, passing west of Lucerne and across the Alps along the upper Rhône to Saint Gotthard Pass.

Louis the German in 853 granted his lands in the Reuss valley to the monastery of St Felix and Regula in Zürich (modern day Fraumünster) of which his daughter Hildegard was the first abbess. According to legend this occurred after a stag bearing an illuminated crucifix between his antlers appeared to him in the marshland outside the town, at the shore of Lake Zürich. However, there is evidence that the monastery was already in existence before 853. The Fraumünster is across the river from the Grossmünster, which according to legend was founded by Charlemagne himself, as his horse fell to his knees on the spot where the martyrs Felix and Regula were buried.

When the land was granted to the monastery, it was exempt from all feudal lords except the king and later the Holy Roman Emperor (a condition known as Imperial immediacy; in German or ). The privileged position of the abbey (reduced taxes and greater autonomy) encouraged the other men of the valley to put themselves under the authority of abbey. By doing so they gained the advantages of the Imperial immediacy and grew used to the relative freedom and autonomy. The only source of royal or imperial authority was the or of the abbey which was given to one family after another by the emperor as a sign of trust.