The passport must be valid for at least six months from the day you exist the United States (the day you return to your country of residence).

We wrote extensively about this on our blog. Click here to learn more.