You have to be at least 10 years old to play Wizard101, according to the official website, which advertises the game for "Everyone 10 and up!"
In practice, though, as long as you are genuinely interested and a parent is comfortable with it, players of various ages enjoy the game. The 10-and-up guideline is simply the recommended starting point.