This question already has an answer here:
Currently, I am applying for PhD positions at United States and Canadian Universities. I will be 35 when I start my PhD in Computer Science/Machine Learning, and probably I will finish it around the age of 40.
Will I be banished from academic positions considering a possible PostDoc time and what about industry positions ? Should I plan my study towards industry or academia from the research perspective ?