It depends on which continuity you mean. The games have never established a family for Sonic, but the Western animated series certainly did.
In Sonic the Hedgehog (SatAM) and Sonic Underground, Uncle Chuck is his uncle, and Underground gives him a mother, a brother and a sister. The Archie comics went further still, building out an extended family tree including his father Jules, his mother Bernadette, and through his marriage to Sally Acorn, in-laws and children of their own.
So: no family in the games, a substantial one in the comics and cartoons.