Generally, an ESTA lasts for two years and the traveler can stay for 90 days on each entry or until the passport gets expired, whichever comes first. Once it gets expired, you have to apply for a new one.