How to change the keyboard language on a Mac
macOS calls keyboard languages and layouts input sources. Here is how to add one, how to switch between them, why your Mac sometimes switches on its own, and what to do when you have already typed a whole sentence in the wrong one.
Add a keyboard language
- Open the Apple menu, then System Settings > Keyboard.
- Under Text Input, click Edit next to Input Sources.
- Click + at the bottom left, choose the language and the layout, and click Add.
- Turn on Show Input menu in menu bar, so you can always see which layout is active.
To remove a layout you no longer use, select it in the same list and click -. Fewer layouts mean fewer accidental switches.
Switch between keyboard languages
- Control + Space switches to the previous input source. Press it again to switch back. Hold Control and tap Space to step through all of them.
- Control + Option + Space selects the next input source in the menu.
- The Globe (fn) key switches too, if Press 🌐 key to in System Settings > Keyboard is set to Change Input Source.
- Or click the Input menu in the menu bar and pick a layout.
If a shortcut does nothing, check System Settings > Keyboard > Keyboard Shortcuts > Input Sources: the shortcuts can be turned off or changed there.
Why does my Mac change the keyboard language by itself?
- An accidental shortcut. Control + Space and the Globe key are easy to hit while typing or using other shortcuts.
- Per-document input sources. If Automatically switch to a document's input source is on (in the same Input Sources window), every window remembers its own layout, and the layout changes when you switch windows. Turn it off if this confuses you.
- Layouts you do not need. Every extra layout in the list is one more place to land by mistake.
Typed a whole sentence in the wrong layout?
It happens to everyone who writes in two languages: you start typing, look up, and the text is gibberish, like Hez, zouáre right' on a Hungarian keyboard instead of Hey, you're right!, or ghbdtn instead of привет. macOS has no built-in fix: you have to delete it, switch the layout and type it again.
Typoflip fixes it for you. At the end of each word it notices that the text was typed in the wrong layout, rewrites it, and switches to the right layout, so you can keep typing. If you notice only at the end of a line, press Shift twice and the whole line is rewritten. It works in every app, including Terminal and code editors, and pauses in password fields.
It works with an English layout paired with Czech, French, German, Greek, Hungarian, Russian, Spanish, Turkish or Ukrainian, in both directions.