Deficiency of the Golgi N-glycan branching enzyme Mgat5 in mice promotes T cell hyperactivity, endocytosis of CTLA-4 and autoimmunity, including a spontaneous multiple sclerosis (MS)-like disease. Multiple genetic and environmental MS risk factors lower N-glycan branching in T cells. These include variants in interleukin-2 receptor-α (IL2RA), interleukin-7 receptor-α (IL7RA), and MGAT1, a Golgi branching enzyme upstream of MGAT5, as well as vitamin D3 deficiency and Golgi substrate metabolism. Here we describe linked intronic variants of MGAT5 that are associated with reduced N-glycan branching, CTLA-4 surface expression and MS (p=5.79×10(-9), n=7,741), the latter additive with the MGAT1, IL2RA and IL7RA MS risk variants (p=1.76×10(-9), OR=0.67-1.83, n=3,518).