The only free and comprehensive online etymological dictionary of the Spanish language
barrio (1) m. (Noun) "neighborhood"
10th cent. Borrowed from Andalusian Arabic barri "outskirts."
Not the origin of the surname Barrio.