Myocardial infarction (MI) and pulmonary arterial hypertension (PAH) are 2 prevalent cardiovascular diseases. In both conditions, oxidative stress is associated with a worse prognosis. Pterostilbene (PTE), an antioxidant compound, has been studied as a possible therapy for cardiovascular diseases. This study aims to evaluate the effect of PTE on oxidative stress in the hearts of animals with MI and in the lungs of animals with PAH. Male Wistar rats were used in both models. In the MI model, the experimental groups were sham, MI, and MI + PTE. In the PAH model, the experimental groups were control, PAH, and PAH + PTE. Animals were exposed to MI through surgical ligation of the left coronary artery, or to PAH, by the administration of monocrotaline (60 mg/kg). Seven days after undergoing cardiac injury, the MI + PTE animals were treated with PTE (100 mg/kg day) for 8 days. After this, the heart was collected for molecular analysis. The PAH + PTE animals were treated with PTE (100 mg/kg day) for 14 days, beginning 7 days after PAH induction. After this, the lungs were collected for biochemical evaluation. We found that PTE administration attenuated the decrease in ejection fraction and improved left ventricle end-systolic volume in infarcted animals. In the PAH model, PTE improved pulmonary artery flow and decreased reactive oxygen species levels in the lung. PTE administration promoted protective effects in terms of oxidative stress in 2 experimental models of cardiac diseases: MI and PAH. PTE also improved cardiac function in infarcted rats and pulmonary artery flow in animals with PAH.