N6-methyladenosine (m6A) is an RNA modification that regulates transcript metabolism. Liu et al. now report that m6A induces structural remodelling in RNAs and that this affects gene expression. They found that a m6A in a hairpin at the human MALAT1 non-coding RNA enhanced interactions with the RNA-binding protein hnRNP-C, by promoting a structural switch ('m6A switch') in the hairpin that made the proximal hnRNP-C binding motif single-stranded and accessible. Transcriptome-wide analyses identified multiple m6A residues proximal to hnRNP-C-bound sites, and RNA structure mapping of m6A–hnRNP-C binding sites supported the global occurrence of m6A switching. Moreover, the expression of >800 m6A-switch-containing genes was affected similarly by knocking down HNRNPC or m6A methylases, resulting in lower proliferation and aberrant splicing in the vicinity of m6A switches. Thus, m6A-mediated RNA structural remodelling alters RNA–protein interactions and gene expression.