If you start your flight training in your 30s it is unlikely that a major airline will take you on so make sure you start flight training before 25. If you are not concerned about flying for the major airlines learning to fly in your 30s or 40s is not out of the question as long as you have good health you could make a good flying instructor or captain in a regional airline!