Shotgun metagenome sequencing of DNA extracted from faecal samples collected from Han Chinese individuals reconfirmed the occurrence of bacterial gut dysbiosis in patients with ankylosing spondylitis (AS). The abundance of seven bacterial species differed between patients with AS (n = 127) and healthy individuals (n = 123). Treatment with a TNF inhibitor restored the relative abundance of these species in patients with AS to levels similar to those in healthy individuals.