It is true that some departments tend to choose someone in their mid to late twenties, as younger researches, in theory, have more productive years ahead of them and potentially they can attract more research funds, grants, and young investigator awards.
The longer you wait, the harder it becomes to compete with more recent graduates.