MainspringGuides › Auto input switching
macOS Guide

Make Mac Switch Keyboard Language Automatically Per App

Updated August 2026 · 3 min read

If you type in two languages, you know the failure mode: switch to Greek for a chat window, flip back to your document, and type half a sentence of the wrong alphabet before noticing. macOS has a fix most bilingual typists never find — a single checkbox that makes each document remember its own keyboard language and switch the moment you click back into it.

Turn on automatic switching

  1. Open System Settings → Keyboard.
  2. In the Text Input section, click Edit… next to Input Sources.
  3. Turn on Automatically switch to a document's input source.
  4. Click Done. The path and toggle are identical on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.

You need at least two input sources in the list for the toggle to matter — if you haven't added your second language yet, do that first with the + button in the same pane. The setting takes effect immediately; there's nothing to restart, and unticking the same box turns the behavior off just as instantly.

What it actually does

With the box ticked, macOS tags each document or text window with the input source you last used in it. Click back into that window and the layout snaps back automatically — no Ctrl+Space, no glance at the menu bar flag. In practice:

Watch the input menu in the menu bar while you click between windows and you can see the flag flip in real time — worth keeping visible while you get used to the behavior (enable it under Show Input menu in menu bar in the same settings pane).

When it fights you

The feature has one sharp edge: it records every manual switch. Flip a document to your second language to type one word, and that document is now remembered as a second-language document — return to it tomorrow and the wrong layout greets you. The fix is simply to switch back before leaving the window, and the memory updates. A few other quirks worth knowing:

Pair it with a visible indicator

Automatic switching works best when you can verify it at a glance. Keep the input menu visible in the menu bar, and consider enabling the Caps Lock language-switch option (Use the Caps Lock key to switch to and from ABC, in the same Edit… sheet) if your pair of languages is Latin + non-Latin — press once to toggle, with the light confirming the state. Between the automatic memory and a one-key manual override, wrong-alphabet typos mostly disappear.

More checkboxes like this one

macOS is full of one-checkbox fixes buried three sheets deep. Mainspring collects 90+ of them — keyboard, Finder, Dock, screenshots — into a single panel of labelled, reversible toggles.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Choose your manual shortcut too

Even with automatic switching on, you'll still flip sources by hand a dozen times a day. Make sure that motion is comfortable: pick the right input-switching shortcut — Ctrl+Space, the Globe key, or Caps Lock.