Peruvian Legends:  José de San Martín and Peru Flag’s Origin

A sun-drenched afternoon in Pisco city, Peru, 1820: Argentinian General José de San Martín, fresh from a grueling voyage, slumps under a palm tree’s shade. 

The air hums with the buzz of revolution, but for a moment, he drifts into a dream. A free Peru unfolds before him—a city alive with hope, a flag of red and white soaring above the crowd. 

As he stirs, a flock of parihuanas—Andean flamingos with crimson wings and snowy breasts—sweeps across the sky.

 That vision, born from a nap, sparks the creation of Peru’s national flag, a symbol that still waves proudly. What was this dream, and why does it resonate centuries later? 

So, let’s unravel the story of San Martín’s siesta, then, the colors it birthed, and the flags that carry Peru’s heart! Let’s go!

A Revolution on the Brink

It’s September 1820, and José de San Martín, “The Liberator,” has just docked in Pisco Bay with his Army of the Andes. His mission?

 To free Peru from Spanish rule was a task as tricky as herding alpacas in a storm. The Spanish Viceroyalty is wobbling, but Lima, its stronghold, looms like a fortress. 

Therefore, San Martín sets up camp in a house near Pisco’s main square, plotting his next move. The air crackles with tension—independence is close, but the fight is far from won.

 What does it take to ignite a nation’s spirit in such a moment? And how do you craft a symbol that rallies everyone, from soldiers to farmers?

According to Abraham Valdelomar’s 1917 tale, The Dream of San Martín, that Pisco nap changes everything. In his dream, San Martín sees a liberated Peru, its people marching toward freedom under a striking red-and-white flag. 

As he wakes, those parihuanas soar overhead, their colors mirroring his vision. He turns to his officers, pointing to the sky: 

“Those birds—red and white. That’s the flag of our freedom!” Was this a divine nudge or just a general’s exhaustion-fueled epiphany? Either way, it’s a story Peruvians cherish.

The First Flag: A Vision in Red and White

Later, around October 1820, Jose de San Martin made it official, decreeing the first Peruvian flag. It was a bold design: a linen rectangle split by two diagonal lines, forming four fields—white at the top and bottom, red on the sides.

 At the center, a laurel wreath encircles a sun rising over mountains by a tranquil sea. The red symbolizes the blood shed for independence, the white purity and peace. 

Some historians, such as Leguía y Martínez, say San Martín drew from the red of Chile’s flag and white of Argentina’s, honoring his diverse army. 

While others, like Jorge Fernández Stoll, suggest a nod to the red-and-white Cross of Burgundy from Spanish colonial days, reflecting San Martín’s brief monarchist leanings. 

What do these colors of the Peruvian flag reveal about a nation’s birth? On July 28, 1821, San Martín raised this flag in Lima’s Plaza Mayor, proclaiming Peru’s independence.

The crowd erupts, the parihuana colors a beacon of hope. But there’s a hitch: the diagonal design is a tailor’s nightmare and, worse, sometimes mistaken for Spain’s flag in the fog of war. How do you ensure a symbol of liberty stands out when the stakes are life and death?

Redesigning Freedom: A Simpler Symbol

By 1822, José Bernardo de Tagle, the Marquis of Torre Tagle, takes a stab at fixing the flag. On March 15, he introduces a new version:

 Two red horizontal stripes with a white one between, featuring a red sun, a nod to Inti, the Inca sun god revered by Peru’s indigenous peoples. 

However, this design closely resembles Spain’s flag, which is a significant misstep for a rebel nation. By May 31, Tagle opts for three vertical stripes: red, white, and red, still incorporating the sun.

This design is cleaner and more distinctive, embodying the Inca legacy through Inti’s radiance. Why is a flag’s clarity important in the pursuit of freedom?

On February 25, 1825, under Simón Bolívar’s watch, the Constituent Congress finalizes the flag. They keep the red-white-red vertical triband but replace the sun with a coat of arms by José Gregorio Paredes and Francisco Javier Cortés. 

The national shield or escudo nacional features National symbols, such as a vicuña (symbolizing Peru’s wildlife), a cinchona tree (for quinine and healing).

Finally, a cornucopia of coins (for mineral wealth), crowned by a holm oak, palm, and laurel wreath for victory and peace. This flag, born from trial and error, becomes Peru’s enduring emblem.

José Bernardo de Tagle’s version

The Flag of Peru: Different Faces

Today, Peru’s state flag comes in distinct versions, each with a unique role.


The civil flag (bandera nacional) is the everyday version: three vertical stripes—red, white, red—flown at homes, schools, and raucous soccer matches.


 It’s Peru’s heartbeat, simple and proud. The state flag (pabellón nacional) adds the coat of arms (escudo de armas)  in the white stripe for government use, like during presidential speeches or official ceremonies at the government palace. 


The war flag (bandera de guerra) is for the military and police, with a coat of arms sometimes customized with unit names. 


The naval jack (bandera de proa), a square flag with the colors of the national coat of arms on a red-and-white field, flies on Peruvian ships, from historic frigates to modern vessels.


 In 1950, General Manuel Odría streamlined the civil flag by removing the version of the national coat of arms for public use, making it easier to wave at Fiestas Patrias. How do these variations reflect Peru’s multifaceted identity?

The Dream’s Lasting Echoes

San Martín’s dream, whether fact or Valdelomar’s poetic flourish, is a cornerstone of Peruvian pride. The parihuana story ties Peru’s natural beauty to its fight for freedom, blending Andean roots with revolutionary zeal. 

The flag’s red and white, as noted by World Atlas, echo Inti’s sacred light and the blood of heroes, resonating with indigenous and modern Peruvians alike.

 Every June 7, Flag Day honors the 1880 Battle of Arica, where Alfonso Ugarte died defending the flag. From Cusco’s plazas to Lima’s streets, the colors adorn everything—banners, face paint, even alpaca sweaters. 

The flag’s journey mirrors Peru’s own: messy, bold, and resilient. San Martín’s vision gave a fledgling nation a rallying point, one that still inspires. What makes a flag more than cloth? And how can a dream from 1820 still light up Peru’s spirit

A Flag Born from a Vision

In conclusion, we can claim that José de San Martín’s Pisco nap wasn’t just a break—it was a spark that painted Peru’s identity.

From the parihuana-inspired red and white to the coat of arms’ nod to Inca roots and natural wealth, the flag tells a story of struggle and hope. 

Its versions—civil, state, war, and naval—carry that legacy into every corner of Peruvian life. When you see those stripes waving, hear the echo of San Martín’s dream and a nation’s unyielding spirit. 

What other symbols hold a country’s soul? And what dreams will shape Peru’s next chapter? We encourage you to stay tuned to our blog to learn more about other Peruvian legends, culture, and more!

Also, as we are close to Peruvian Fiestas Patrias, Viagens Machu Picchu invites you to visit our country and experiment for yourself why we consider it the best destination in the world.

Please, feel free to contact us, so you can get information about our tailor-made tours, best deals, and promotions. The adventure of the ancient Inca land awaits. Don’t be late!

Viagens Machu Picchu, journeys that inspire, moments that last.

En Español  

In English 

Em Portugués