This question already has an answer here:

I am planning to take a 1 week trip outside the US in April 2018. My H1B visa expires first week of September 2018. I just want to know if there will be any issue at port of entry in the US with 4 months left on my H1B visa. Thanks.

marked as duplicate by phoog visas Nov 23 '17 at 23:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.