At 39 I work in a startup. I would say that mid-thirties is probably the ideal age to get involved with a startup. Both the founders for which I work are also 'mid thirties'. At that age you probably have enough experience to be at a great advantage over people in their 20s.
Good luck!