The duty to pay support typically ends when a child turns 18 and graduates high school
If they’re still in high school full-time and cannot support themselves, the duty ends when they graduate or turn 19, whichever happens first.
https://selfhelp.courts.ca.gov/child-support