Fortunately, a DUI itself is not a basis for deportation in the Immigration and Nationality Act. However, the circumstances under which you found yourself when the DUI occurred could.
If it can be shown that you are not of good or moral character, then it is possible for you to be deported, but that’s not necessarily linked to a DUI on its own. For example, if the DUI led to a homicide and hit-and-run, you may be at a greater risk of deportation than if you were stopped for driving unusually and accused of being intoxicated.
Even better support for the idea of not deporting individuals purely due to a DUI conviction is a recent news report and release from the presidential administration. The White House confirmed on February 8 that it would not be pushing to prioritize deporting illegal immigrants who were convicted of drug-related crimes or DUIs. If you’re in the country illegally or legally, that’s a positive factor that works in your favor.