Background: Bariatric surgery is an effective therapeutic procedure for morbidly obese patients as it induces sustained weight loss. The two most common interventions are Laparoscopic Sleeve Gastrectomy (LSG) and Laparoscopic Roux-en-Y Gastric Bypass(LRYGB). Objective: Characterizing the gut microbiota changes induced by LSG and LRYGB. Design: 89 and 108 patients who underwent LSG and LRYGB respectively, were recruited from three countries: USA, France and Switzerland. Stools were collected before and 6 months after surgery. Microbial DNA was analysed with shotgun metagenomic sequencing (SOLiD 5500xl Wildfire). MSPminer, a novel innovative tool to characterize new in silico biological entities, was used to identify 715 Metagenomic Species Pan-genome (MSPs). 148 functional modules were analysed using GOmixer and KEGG database. Results: Both interventions resulted in a similar increase of Shannon's diversity index and gene richness of gut microbiota, in parallel with weight loss, but the changes of microbial composition were different. LRYGB led to higher relative abundance of aero-tolerant bacteria, such as Escherichia coli and buccal species, such as Streptococcus and Veillonella spp. In contrast, anaerobes such as Clostridium were more abundant after LSG, suggesting better conservation of anaerobic conditions in the gut. Function-level changes included higher potential for bacterial use of supplements such as vitamin B12, B1 and iron upon LRYGB. Moreover, after LRYGB, potential for nitrate and Trimethylamine oxidized (TMAO) respiration was detected. Conclusion: Microbiota changes after bariatric surgery depend on the nature of the intervention. LRYGB induces greater taxonomic and functional changes in gut microbiota than LSG and may lead to a more dysbiotic microbiome. Possible long-term health consequences of these alterations remain to be established.