Abstract Background and aim A number of studies have found higher COVID-19 infection rates, hospitalizations and deaths in migrants and ethnic minorities throughout the Corona Pandemic. Some recent evidence also suggests higher risk of long COVID in migrants although less is known about the risk factors for long COVID in this population. The objective of our study is to examine the risk of long COVID in migrants and to examine whether preexisting health conditions, disease severity, social inequalities and vaccinations contribute to the association. Methods We used linked Swedish administrative registers to estimate the risk of a long COVID diagnosis in the population that had a confirmed COVID-19 infection. Poisson regressions were used to calculate incidence rate ratios between the Swedish born and migrant groups. Adjustments for preexisting health conditions, disease severity, vaccinations and social inequalities were separately introduced. Results Higher risks of long COVID were found among migrants from Africa, Asia, Eastern Europe, Finland, Middle-East and South America. While the contribution of vaccinations and social inequalities were modest, we found that disease severity (i.e. whether the person was hospitalized or treated in an intensive care unit) primarily contributed to the higher risk of long COVID found in migrants. Conclusions The greater exposure and impact of the COVID-19 virus among migrants during the pandemic also affected the longer-term consequences of infection in this at-risk population.