The 11 women and their coaches arrived back in Doha early Friday, a team spokesman said. The women forfeited their games in the tournament saying the International Basketball Federation (FIBA) had banned them from wearing headscarves.
Their final game was to be against Kazakhstan today.
In response to the protests, FIBA strongly denied there was any "religious connotation" in the longstanding ban.
It is starting to allow countries to use headgear in national contests and said in a statement that there could be "tests" on allowing headgear in international tournaments from mid-2015.