Classic Sonic, the original design from the early games, first appeared in 1991 with Sonic the Hedgehog. So the character has been around for decades, even if his in-universe age is never given a specific number.