20 C.F.R. § 416.1872
Who is considered a student
We consider you to be a student if you are under 22 years old and you regularly attend school or college or training that is designed to prepare you for a paying job as described in § 416.1861(a) through (e).