There is no official age restriction on the Trainz series. The earlier claim that only people aged 21 and over can play it is not accurate.
In practice it is a railway simulation aimed at train enthusiasts, so the route building, signalling and driving systems tend to appeal to older children, teenagers and adults rather than very young players. Titles such as Trainz 2004 and the regular Trainz releases are all perfectly playable at any age.