What is the maximum HSA contribution limit for someone who establishes an HSA mid-year?

If you establish an HSA mid-year, you can contribute the full annual HSA maximum, provided you remain eligible for the remainder of that year and through the end of the following tax year. See contribution limits.