Pezuela was born into a hidalgo family originally from Santander. He attended the Artillery College in Segovia. In the army, he fought in the siege of Gibraltar, and later against the French in Guipúzcoa and Navarre, in 1793 and 1794. In 1805 he went to America as head of the army in Alto Perú (now Bolivia).