This is nationwide registry-based randomized clinical multicenter trial in which patients will be randomized to gastric bypass (RYGB) or sleeve gastrectomy (SG). The co-primary endpoint are weight control over 5 years and the amount of severe adverse events. Additionally the investigators have predefined a number of secondary endpoints, and the trial has a sufficient number of patients to allow comparisons across subgroups.