We have analysed a large set of autosomal short tandem repeat (STR) loci in several Arabic and Berber-speaking groups from north-west Africa (ie Moroccan Arabs, northern-central and southern Moroccan Berbers, Saharawis, and Mozabites). Two levels of analysis have been devised using two sets of 12STR loci, (D3S1358, vWA, FGA, THO1, TPOX, CSF1PO, D8S1179, D21S11, D18S51, D5S818, D13S317 and D7S820) and 21 (the former set plus D9S926, D11S2010, D13S767, D14S306, D18S848, D2S1328, D4S243, F13A1, and FES/FPS). For each set, data for a number of external reference populations were gathered from the literature. Several methods of analysis based on genetic distances (neighbour-joining trees, principal coordinate analysis, boundary detection), as well as AMOVA, showed that genetic differentiation among NW African populations was very low and devoid of any spatial pattern. When the NW African populations were grouped according to cultural or linguistic differences, the partition was not associated with genetic differentiation. Thus, it is likely that Arabisation was mainly a cultural process. A clear genetic difference was found between NW African populations and Iberians, which underscores the Gilbraltar Straits as a strong barrier to genetic exchange; nonetheless, some degree of gene flow into Southern Iberia may have existed. NW Africans were genetically closer to Iberians and to other Europeans than to African Americans.