Before Spanish arrival, the valley of Queretaro was an active border zone between the sedentary agricultural Otomí and Tarascan kingdoms and the nomadic Chichimeca hunter-gatherer confederacies. The settlement was founded in 1531 by Christianized Otomí chieftain Fernando de Tapia (known in Otomí as Conín). According to legendary historical accounts, the decisive battle between indigenous Christians and Chichimeca warriors on the Hill of Sangremal ended peacefully when an eclipse darkened the sky, revealing a fiery vision of Saint James the Apostle (Santiago) and a glowing cross, leading the Chichimecas to lay down their weapons and christen the city Santiago de Querétaro.
During the 17th and 18th centuries, Queretaro became one of the wealthiest viceregal cities in New Spain due to its strategic position along the royal silver highway (Camino Real de Tierra Adentro) linking Mexico City with the rich silver mines of Zacatecas and Guanajuato. Immense fortunes generated by silver trade and cattle ranching financed the construction of lavish baroque churches, noble mansions with carved stone courtyards, and civil infrastructure. Most notable was the colossal aqueduct commissioned between 1726 and 1738 by the wealthy philanthropist Marquis de la Villa del Villar del Águila, who funded the monumental 74-arch aqueduct to channel clean spring water from La Cañada into the city's convents and public fountains after a nun he admired requested clean water for her convent.
In September 1810, Queretaro became the epicenter of national independence. Doña Josefa Ortiz de Domínguez ("La Corregidora"), wife of the colonial magistrate, participated in underground conspiratorial meetings disguised as literary academies. When colonial authorities discovered the plot, she tapped on the floorboards of her locked room to alert messenger Ignacio Pérez, who rode through the night to warn Father Miguel Hidalgo in Dolores, prompting the famous Cry of Dolores (Grito de Dolores) that ignited the Mexican War of Independence. Decades later, Queretaro served twice as the provisional capital of the Republic: during the 1848 Mexican-American War when the Treaty of Guadalupe Hidalgo was signed, and in 1917 when Venustiano Carranza oversaw the promulgation of the landmark Constitution of Mexico.
The cultural footprint of Queretaro extends deep into the surrounding semi-desert and mountain highlands. To the north, the rugged Sierra Gorda mountain range harbors five UNESCO-inscribed Franciscan baroque mission settlements founded by Saint Junípero Serra in the 1750s, celebrated for their elaborate mestizo facades blending Christian iconography with indigenous cornstalk, vine, and jaguar symbols. Meanwhile, indigenous Otomí communities in Amealco preserve vibrant textile traditions, notably the iconic handmade colorful cloth doll "Lelé" with ribbons braided into her dark yarn hair, officially declared cultural heritage of the state.