Under the qualifying-child rules, a full-time student can potentially remain a dependent through age 23, provided the other dependency requirements are met.

Education credits and other tax considerations may also apply.

So don’t decide that Junior is suddenly financially independent just because he’s 21 and knows how to order DoorDash.