Peripheral nerve injuries in the upper limb can lead to substantial disability and pain. We aimed to assess how socioeconomic factors affect outcomes after repaired or reconstructed digital or major nerve trunk injuries in the upper limb. We identified 670 individuals, who underwent surgical nerve repair or reconstruction using sensory nerve autografts, in the Swedish National Quality Registry for Hand Surgery 2010–2018. Socioeconomic factors, including education, cohabitation, type of work, sick leave, immigrant status and income, were gathered from the Swedish statistical agency (www.scb.se) and National Diabetes Register (NDR). We calculated prevalence ratios (PR) to assess the relationship between socioeconomic factors and surgical outcomes for the nerve injuries. Individuals with a major nerve trunk injury had higher QuickDASH scores and lower income compared to those with digital nerve injury. Individuals with immigration background (adjusted PR = 2.0, 95% CI 1.2–3.2), history of > 4 weeks of sick leave the year before surgery (adjusted PR = 1.8, 95% CI 1.1–3.1), or education level below tertiary (adjusted PR = 2.8, 95% CI 1.7–4.7) had significantly higher QuickDASH scores. Recognizing impact of non-biological factors, including immigration, prior sick leave, and education level, on outcome after nerve surgery is crucial for improving prognosis in socioeconomically deprived individuals.