MYB transcription factors (TFs) play vital roles in plant growth, development, and response to adversity. Although the MYB gene family has been studied in many plant species, there is still little known about the function of R2R3 MYB TFs in sweet potato in response to abiotic stresses. In this study, an R2R3 MYB gene, IbMYB330 was isolated from sweet potato (Ipomoea batatas). IbMYB330 was ectopically expressed in tobacco and the functional characterization was performed by overexpression in transgenic plants. The IbMYB330 protein has a 268 amino acid sequence and contains two highly conserved MYB domains. The molecular weight and isoelectric point of IbMYB330 are 29.24 kD and 9.12, respectively. The expression of IbMYB330 in sweet potato is tissue-specific, and levels in the root were significantly higher than that in the leaf and stem. It showed that the expression of IbMYB330 was strongly induced by PEG-6000, NaCl, and H2O2. Ectopic expression of IbMYB330 led to increased transcript levels of stress-related genes such as SOD, POD, APX, and P5CS. Moreover, compared to the wild-type (WT), transgenic tobacco overexpression of IbMYB330 enhanced the tolerance to drought and salt stress treatment as CAT activity, POD activity, proline content, and protein content in transgenic tobacco had increased, while MDA content had decreased. Taken together, our study demonstrated that IbMYB330 plays a role in enhancing the resistance of sweet potato to stresses. These findings lay the groundwork for future research on the R2R3-MYB genes of sweet potato and indicates that IbMYB330 may be a candidate gene for improving abiotic stress tolerance in crops.