Per IRS Publication 969 Health Savings Accounts and Other Tax-Favored Health Plans, page 6:
Limit on Contributions
The amount you or any other person can contribute to your HSA depends on the type of HDHP coverage you have, your age, the date you become an eligible individual, and the date you cease to be an eligible individual. For 2019, if you have self-only HDHP coverage, you can contribute up to $3,500. If you have family HDHP coverage, you can contribute up to $7,000.
(Page 7:) Rules for married people. If either spouse has family HDHP coverage, both spouses are treated as having family HDHP coverage. If each spouse has family coverage under a separate plan, the contribution limit for 2019 is $7,000. You must reduce the limit on contributions, before taking into account any additional contributions, by the amount contributed to both spouses’ Archer MSAs. After that reduction, the contribution limit is split equally between the spouses unless you agree on a different division.
CAUTION! The rules for married people apply only if both spouses are eligible individuals.
If both spouses are 55 or older and not enrolled in Medicare, each spouse’s contribution limit is increased by the additional contribution. If both spouses meet the age requirement, the total contributions under family coverage can’t be more than $9,000. Each spouse must make the additional contribution to his or her own HSA.
Due to the many combinations of allowable contribution limits, TaxAct is not able to compute the overall HSA contribution limit when there are two Forms 8889 present on the return. The user will need to review the IRS Form Instructions on the screen titled Health Savings Accounts – Separate HSAs and Family Coverage to determine the amount to enter in the field Portion of Contribution Limit Allocated to [Taxpayer or Spouse]’s 8889. You may also wish to click the Info Icon on this page to review the Contribution Limit Chart.