Joaquín José de Melgarejo y Saurín, 1st Duke of San Fernando de Quiroga (23 January 1780, in Cox, Alicante – 9 April 1835, in Madrid), was a Spanish noble and politician.
His wife, María Luisa de Borbón y Vallabriga, was a granddaughter of King Philip V as a daughter of Infante Luis, but not an Infanta because her mother, María Teresa de Vallabriga, was not of royal blood.
Joaquín José de Melgarejo fought against the French during the Peninsular War and reached the rank of Brigadier general.
In 1815, King Ferdinand VII made him Duke of San Fernando de Quiroga.
De Melgarejo was going to be named Prócer del Reino in 1835, but died before he could take up the post.