Upvote:7
It depends on the country of your passport.
In general your passport has to be valid six months past your departure from the US. However, there is a lengthy list of countries which are exempt from this requirement; for these countries the passport must be valid up to the date of departure.
The exempt list is 126 countries, covering most of the world, so I'm not reproducing it here.