The IRS limits the exclusion for dependent care benefits to $5,000 per joint return, not per spouse. The maximum allowed exclusion for Married Filing Jointly is $5,000.
When total dependent care benefits go over $5,000, Form 2441 automatically treats the extra money as taxable income. This is often done to the spouse with the smaller dependent care benefits, or lower earned income. In this case, the $2,000 from your wife.
This rule applies regardless of the actual amount paid for child care expenses.
The taxable amount flows to Form 1040 Schedule 1, Line 1e.
You can find more information about dependent care benefits in IRS instructions for Form 2441, Part III (Dependent Care Benefits).
[Edited 1/26/26 | 7:48 am PST]
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"