The maximum amount of time issued for ESTA applications is 90 days. The validity only applies when it is used for business or tourist purposes. This includes transits in the United States, or visiting friends or family.