Switzerland has not fought a foreign war since 1815. It sat out both world wars and belongs to no military alliance — yet it is one of the most heavily armed countries in Europe, per person. That contradiction is the whole story: Swiss neutrality is not pacifism. It is a deal — stay out of other people's wars, be too expensive to invade, and too useful to ignore. This is a research-based piece, drawn from histories linked at the end — I have not visited Swiss military sites or interviewed anyone there.
For centuries, Swiss soldiers were the most feared infantry in Europe. The cantons of the Old Swiss Confederacy had won their independence from the Habsburgs in the 1300s and 1400s, and Swiss pikemen became so effective that kings across the continent paid fortunes to hire them. That reputation died on a battlefield south of Milan. On 13–14 September 1515, a Swiss force of about 22,000 met a French army of nearly 40,000 under King Francis I at Marignano. The Swiss charged French cannons the way they always had — and were cut down. Roughly half the Swiss force was killed, and the survivors withdrew from Italy.
The peace that followed mattered as much as the defeat. In 1516 Switzerland signed a perpetual peace with France, with a clause that the two sides would never again fight each other or ally with each other's enemies. It was the last time a Swiss national army fought outside Switzerland's borders. Neutrality did not arrive overnight — Swiss mercenaries kept serving foreign kings for centuries — but Marignano planted the idea that foreign wars were a bad bargain.
Neutrality was a habit for three centuries before it became law. The one great interruption came under Napoleon, when France turned Switzerland into a client state. After his defeat, the great powers met at the Congress of Vienna, and on 20 March 1815 they declared Switzerland's neutrality "perpetual" and guaranteed it — confirmed that November by the Treaty of Paris.
The decision was not generosity. Austria, Prussia, Russia and Britain wanted a buffer state between France and the Habsburg lands, and Switzerland's Alps made it expensive to invade. The great powers guaranteed Swiss neutrality because a neutral Switzerland served their own interests — and the Swiss got their borders secured, with Geneva, Valais and Neuchâtel added to the Confederation. The legal foundation laid in 1815 still stands today: Switzerland has stayed out of every war between other states since, and guards the status jealously — in neither the EU nor NATO, it joined the United Nations only in 2002, after a popular vote.
Here is the part people usually get wrong. Swiss leaders understood from the start that neutrality without a credible military is just an invitation, so Switzerland built what it calls armed neutrality. The army is a militia: regular soldiers are a small part of it, and the rest are conscripts and volunteers, mostly aged 19 to 34, who keep their personal equipment — including their service rifle — at home. In the Second World War, under General Henri Guisan, the plan was the National Redoubt: if invaded, the army would hold the high Alps and destroy the passes and rail links behind it.
And here is the anecdote that sums the whole doctrine up. For decades, thousands of Swiss tunnels, highways, railways and bridges were built with tank traps and primed with demolition charges — and often, the civilian engineer who designed a bridge also planned its demolition, as a military officer. The charges were never used, and in 2014 the Swiss Armed Forces announced they were removing them all. But the logic behind them is still the point: Switzerland's defence was never about winning a war. It was about making an invasion so slow and costly that no one would bother. Borders are strange things — in Baarle, the border runs through people's front doors — but Switzerland turned its geography into a weapon.
The first cost is the army itself: a small country maintaining a large citizen military, year after year, in peacetime. The second is subtler — neutrality has to be paid for in usefulness. Staying out of wars made Switzerland the natural host for diplomacy. After Henry Dunant, a Genevan businessman, witnessed the aftermath of the Battle of Solferino in 1859, he helped found the International Committee of the Red Cross in Geneva in 1863, and the first Geneva Convention was signed there in 1864. Geography still shapes the world in quieter ways — a single ship stuck in a single canal can stop global trade, as the Ever Given showed in the Suez.
The third cost is the hardest: neutrality gets tested every time the world splits into sides. In February 2022, four days after Russia's full-scale invasion of Ukraine, Switzerland adopted the EU's sanctions on Russia, arguing that sanctions are not military help and therefore do not break neutrality law. By mid-2026, Switzerland had frozen around 8.5 billion francs of Russian assets. And on 27 September 2026, Swiss voters rejected — by about 70% — an initiative that would have written a stricter neutrality into the constitution and barred sanctions outside UN mandates. Neutrality is not a rule the Swiss set once and forgot. They argue about it, vote on it, and keep paying for it — because the alternative costs far more.
Switzerland's neutrality is not a gift from history. It was bought with a lost battle in 1515, guaranteed by self-interested great powers in 1815, and maintained ever since with a citizen army, rigged mountain passes, and a willingness to host the world's difficult conversations. The Swiss still argue about what neutrality should mean, but the calculation has not changed in five centuries: a small country surrounded by larger powers survives by being too costly to invade and too useful to exclude.
Related on Poptani Labs: Baarle: the town where the border runs through your front door, Ever Given: the six days one ship stopped world trade. More in this category: The World, Explained.
Sources: EBSCO — Battle of Marignano, War History Online — The Battle of Marignano, Politiq Wiki — History of Neutrality (1515–2024), Wikipedia — Swiss Armed Forces, The Herring — Switzerland's Neutrality Vote, LearnOrbis — Switzerland's Government, Neutrality, Trade and the EU in 2026