Angiotensin II (Ang II) has been reported as key in inducing endothelial cell injury, and endothelial cells may produce nitric oxide (NO) to protect themselves. However, the underlying mechanism remains elusive. Human umbilical vein endothelial cells (HUVECs) were divided into five treatment groups as follows: Normal control, Ang II, Ang II + sodium hydrosulfide [NaHS; hydrogen sulfide (H2S) donor], Ang II + Akt inhibitors + NaHS, and Ang II + endothelial nitric oxide synthases (eNOS) inhibitors + NaHS. Subsequently, cell viability, apoptosis, migration, proliferation and adhesion ability were determined. In addition, tubular structure formation was observed, and the NO and phosphorylation levels of Akt and eNOS were evaluated. Compared with the normal control group, Ang II treatment reduced the viability of HUVECs and increased the level of cell apoptosis (P<0.05). Furthermore, Ang II treatment inhibited the phosphorylation level of eNOS and Akt, as well as the generation of NO (P<0.05). H2S reversed the above‑mentioned effects significantly and increased cell proliferation, adhesion ability and promoted tubular structure formation (P<0.05); however, H2S did not reverse the impact of eNOS and Akt phosphorylation levels after being processed with Akt and eNOS inhibitors, which indicates that H2S is capable of protecting HUVECs via the eNOS/Akt signaling pathway (P<0.05). Thus, H2S stimulates the production of NO and protects HUVECs via inducing the Akt/eNOS signaling pathway.