Gonzalo Sánchez (c. 1020 – 26 June 1043) was ruler of Sobrarbe and Ribagorza, two small Pyrenean counties. He was the son of King Sancho III of Pamplona and his wife, Muniadona of Castile. Before 1035, Sancho decreed that Gonzalo should rule Sobrarbe and Ribagorza. He succeeded to these domains after his father's death in that year and ruled them as vassal of his brother García Sánchez III until his death. Gonzalo is thought to have been ineffectual and unpopular, with vassals defecting to his brother, Ramiro I of Aragon, during his own life, and one failing to name him in a list of rulers of Ribagorza written within a decade of his death.
The Historia silense (c. 1115) does not mention Gonzalo in its version of the division of Sancho III's realm. It even records that Ramiro was given the "remote" region of Aragon on account of his illegitimacy, despite that Gonzalo's division was more remote and his legitimacy unquestioned. The anonymous Chronica naierensis (c. 1200), basing its account entirely on the Silense, likewise knows nothing of Gonzalo and blames Ramiro's position on his bastardy. An independent source, though influenced by popular legends and ballads, the Liber regum (c. 1200) shows no awareness of Gonzalo.
According to a document of 14 April 1035 preserved in San Juan de la Peña recording Sancho's grant of Aragon to Ramiro, the castle of Loarre and monastery of San Emeterio with their dependent villages were detached from that province and given to Gonzalo. Gonzalo subsequently confirms many charters alongside his brother and they often appear together in dating clauses. With the title of king, Gonzalo appears beside all his brothers and his brother-in-law, "emperor" Vermudo III of León, in the carta de arras of Ramiro (22 August 1036). In 1037 Gonzalo was reunited with his brothers García and Ramiro—and the churchmen Sancho, Bishop of Pamplona; Paterno, a Cluniac reformer; and Abbot Blasco of San Juan de la Peña—to confirm a donation of Jimeno Garcés, Ramiro's godfather, to the monastery of Leire. In this document García uses the title princeps (prince) to indicate his superiority, but Ramiro and Gonzalo use the title regulus (petty king) and are referred to as in Aragone ([ruling] in Aragon). This meeting probably took place either in Pamplona or in Leire, but neither the day or month is preserved in the records. The use of a royal title in the presence of his elder brother García is evidence that Gonzalo did not usurp it. The three brothers and Ferdinand were all at Anzánigo (Andizaniku) in 1037 or perhaps 1043, after Ferdinand had succeeded to the Kingdom of León.