OBJECTIVES: Compare self-perceived discrimination between immigrants and locals in Chile and analyze the relationship between immigration and perceived discrimination and immigration, discrimination and health outcomes, adjusting for sociodemographic characteristics and social capital. METHODS: Cross-sectional study, using population-based survey (CASEN2017). We selected 2,409 immigrants (representative of N = 291,270) and 67,857 locals (representative of N = 5,438,036) over 18 years of age surveyed. We estimated logistic regression models, considering the complex sample, with discrimination, self-rated health, medical treatment, healthcare system membership, complementary health insurance, medical consultation and problems when consulting as dependent variables, immigration and discrimination as main exposure variables, and social capital and sociodemographic variables as covariates of the models. RESULTS: Immigrants were more likely to perceive discrimination in general compared to locals (OR = 2.31; 95%CI: 1.9-2.9). However, this does not occur for all specific reasons for discrimination; skin color and physical appearance were the most frequent causes of discrimination in immigrants. The interaction between immigration and discrimination was significantly related to worse self-rated health outcomes and treatment for pathologies, disfavoring discrimination against immigrants. In both locals and immigrants, discrimination was not associated with health care access outcomes, except for problems during consultation in locals (OR = 1.61; 95%CI 1.4-1.8). CONCLUSIONS: In Chile, experiences of discrimination are intertwined with other forms of rejection and social exclusion, so it is urgent to raise awareness among the population to prevent these discriminatory practices, especially in health care and daily use places. It is essential to address discrimination in order to have an impact on intermediate variables and health outcomes. The extension of the results to the entire immigrant population could be very useful to deepen the problem and improve the estimates made.