We examine the impact of discrimination on labor market performance when workers are subject to a risk of losing skills during an unemployment experience. Within a search and matching framework, we show that both natives and immigrants are affected by discrimination. Discrimination in one sector has positive spillovers, inducing employment to increase in the other sector and the effect on labor market performance therefore depends on whether discrimination is present in only one sector or in both. Discrimination may induce workers to train more or less than natives after having lost their skills, dependent upon in which sector there is discrimination. Net output tends to be most negatively affected by discrimination among high-skilled workers.