In linguistics, inversion is any of several grammatical constructions where two expressions switch their typical or expected order of appearance, that is, they invert. There are several types of subject-verb inversion in English: locative inversion, directive inversion, copular inversion, and quotative inversion. The most frequent type of inversion in English is subject–auxiliary inversion in which an auxiliary verb changes places with its subject; it often occurs in questions, such as Are you coming?, with the subject you being switched with the auxiliary are. In many other languages, especially those with a freer word order than that of English, inversion can take place with a variety of verbs (not just auxiliaries) and with other syntactic categories as well.
When a layered constituency-based analysis of sentence structure is used, inversion often results in the discontinuity of a constituent, but that would not be the case with a flatter dependency-based analysis. In that regard, inversion has consequences similar to those of shifting.