Mice expressing the autism-associated neuroligin-3 R451C variant exhibit increased mucus density and altered distributions of intestinal microbiota. Here, NLGN3 is linked to autism.