Diego Vigil y Cocaña (1799, Tegucigalpa, Honduras – 10 January 1845, Granada, Nicaragua) was a Central American politician.
He was related to the Central American Liberal leader, general and president, Francisco Morazán, and was among his closest fellow combatants.
In 1826–27, he was governor of the province of Tegucigalpa, but after the occupation of that city by the troops of federal President Manuel José Arce, he was arrested.
Because of the cholera, the government stopped all payments except for public employees, in order to devote the resources to fighting the epidemic.
After federal Vice President Gregorio Salazar was killed during the occupation of Guatemala City by the rebel forces of Rafael Carrera, Vigil was selected to succeed him (1 February 1838).
On 8 April 1840, Diego Vigil and Francisco Morazán sailed from El Salvador for Costa Rica and Panama.
After Morazán's execution on 15 September 1842 in San José, Costa Rica, Vigil settled in Granada, Nicaragua, where he remained until his death in 1845.