||The purpose of this paper is to analyze the diferences that immigrants have in the Spanish labour market. Immigrants in Spain come from a diversity of continents (Africa, South America, Eastern Europe, Asia, etc. ), and there are substantial diferences in characteristics not only among continents but also among countries in each continent. Using a quantile regression method of decomposition we estimate these diferences that are reflected in the labour market and in particular are mirrored in the wage, so some immigrants are more discriminated or segregated that others because they have less advantage. For example Argentineans and Peruvians have the same origin and culture but we can find diferences in the wage that they receive in the Spanish labor market, or for example Moroccans have a advantage with respect to the Rest of Africans, due to the geographical proximity to Spain. So when we study the pay gap and the gender pay gap we need to take into consideration the origin of immigrants. We also want to study how the integration of immigrants evolved across years, whether the wage gap that we find in the first episode of work between immigrants and natives disappears or continues to be present in the Spain labour market.