In linguistics, code-switching occurs when a speaker alternates between two or more languages, or language varieties, in the context of a single conversation. Multilinguals—speakers of more than one language—sometimes use elements of multiple languages when conversing with each other.