sodcalculator

10 Tech How-To

End & Home Keys on Mac: Windows-Style Shortcuts

Guide 10-50500 · Updated · Step by step

If you’ve recently switched from Windows to a Mac, you’ve probably noticed that the Home and End keys don’t behave like they do on a PC. On Windows, pressing Home moves the cursor to the beginning of the current line, and End moves it to the end. On a Mac keyboard, those keys are labeled with left/right arrows and a vertical bar, and they scroll the page instead of moving the cursor. This guide shows you exactly how to get the familiar Windows behavior on your Mac, using built-in shortcuts and a few free tweaks.

What You’ll Need

  • A Mac running macOS (any recent version, from Catalina to Sonoma or later).
  • Access to System Settings (or System Preferences on older macOS).
  • Optional: A third-party app like Karabiner-Elements or BetterTouchTool if you want to remap physical keys.

Step-by-Step

Method 1: Use the Built-in Shortcuts (No Software Needed)

The quickest way to get Windows-like Home and End behavior is to use keyboard shortcuts that work in most apps.

  1. Move to the beginning of the line: Press Command + Left Arrow. This places the cursor at the start of the current line, just like the Home key on Windows.
  2. Move to the end of the line: Press Command + Right Arrow. This moves the cursor to the end of the line, just like End on Windows.
  3. Select text to the beginning of the line: Press Shift + Command + Left Arrow to select from the cursor to the start of the line.
  4. Select text to the end of the line: Press Shift + Command + Right Arrow to select from the cursor to the end of the line.
  5. In a web browser or document viewer: These shortcuts work in Safari, Chrome, Firefox, Pages, Word, and most text fields. In some apps, they may scroll to the top/bottom of the page instead of moving the cursor—if that happens, use the next method.

Method 2: Remap the Physical Keys (for a True Windows Feel)

If you want the actual Home and End keys on your Mac keyboard to work like Windows, you need to remap them. The easiest way is with the free app Karabiner-Elements.

  1. Download and install Karabiner-Elements from the official website (karabiner-elements.pqrs.org). Open the downloaded DMG and drag the app to your Applications folder.
  2. Launch Karabiner-Elements and grant it the necessary permissions when prompted (it needs Accessibility and Input Monitoring access in System Settings → Privacy & Security).
  3. Go to the “Simple Modifications” tab. Click “Add item” and select the key you want to remap. On a Mac keyboard, the Home key is labeled with a left arrow and a vertical bar (⌘←), and End is labeled with a right arrow and a vertical bar (⌘→).
  4. Set the “From” key to the Mac Home key (usually labeled “Home” or “Left Arrow” in the dropdown) and the “To” key to “Control+A” (which moves to line start in many apps).
  5. Set the “From” key to the Mac End key and the “To” key to “Control+E” (which moves to line end in many apps).
  6. Test in a text editor. Press the physical Home key—it should now move the cursor to the beginning of the line. If it doesn’t, try using “Command+Left Arrow” as the “To” key instead, since some apps use that.

Method 3: Use System Settings (for Apple External Keyboards)

If you’re using an Apple keyboard with a numeric keypad, you can create custom shortcuts for the Home and End keys.

  1. Open System Settings (Apple menu → System Settings).
  2. Go to Keyboard → Keyboard Shortcuts → App Shortcuts.
  3. Click the “+” button. Choose the app you want (e.g., TextEdit, Microsoft Word, or “All Applications”).
  4. Type the exact menu command name that performs “Move to Beginning of Line” (in many apps it’s “Move to Beginning of Line” or “Go to Beginning of Line”).
  5. Assign the keyboard shortcut by pressing the Home key on your keyboard (or a combination like Fn+Left Arrow).
  6. Repeat for “Move to End of Line.” This method works only for menu commands that exist in the app, so it may not work in every program.

Common Mistakes

  • Using Fn+Left/Right Arrow: On a Mac laptop, pressing Fn+Left Arrow scrolls to the top of a page, and Fn+Right Arrow scrolls to the bottom—it does not move the cursor. Many users confuse this with Home/End.
  • Expecting Command+Left Arrow to work in every app: Some apps (like Excel) use Command+Left Arrow to jump to the beginning of the entire spreadsheet, not just the line. In such cases, you may need to use Control+A instead.
  • Remapping the wrong key: On Mac keyboards, the “Home” key is often a small key with a left arrow and a vertical bar, placed near the top right. If you remap the arrow keys themselves, you’ll lose normal navigation.
  • Forgetting to grant permissions: Karabiner-Elements won’t work until you allow it in System Settings → Privacy & Security → Accessibility and Input Monitoring.

Tips

  • Use Control+A and Control+E: In most macOS text fields, Control+A moves to the beginning of the line and Control+E moves to the end. These are the classic Emacs shortcuts and work in Terminal, text editors, and many web forms.
  • For selecting text: Add Shift to any of these shortcuts: Shift+Command+Left Arrow selects to the line start, Shift+Control+A also selects to the line start in many apps.
  • In Terminal: Use Control+A and Control+E—they work perfectly for moving to the start/end of the command line.
  • If you use an external Windows keyboard: macOS natively maps the Windows Home and End keys to scroll the page. To change that, use Karabiner-Elements to remap them to Command+Left/Right.
  • Learn the “Fn” trick: On a Mac laptop, Fn+Left Arrow is Home (scroll to top) and Fn+Right Arrow is End (scroll to bottom). This is useful for long documents, but not for cursor movement.

Troubleshooting

  • Shortcuts don’t work in a specific app: Some apps (like Microsoft Word) use their own shortcuts. In Word, try Command+Up Arrow for beginning of document and Command+Down Arrow for end. For line start/end, use Control+Command+Left/Right.
  • Karabiner-Elements remapping doesn’t take effect: Check that the app is running (look for its icon in the menu bar). Also, make sure you’ve added the correct “From” key—try pressing the key and see which one is highlighted in the “From” dropdown.
  • Home key scrolls instead of moving cursor: This is the default macOS behavior. If you don’t want to install software, you can use the built-in shortcuts (Command+Left/Right) or Control+A/E.
  • In Excel, Command+Left Arrow jumps to the edge of the spreadsheet: That’s a known difference. To move to the beginning of a cell’s text, double-click the cell and then press Command+Left Arrow, or use Control+A.
  • After an update, remapping stops working: macOS updates can reset permissions. Re-open System Settings → Privacy & Security and re-grant Accessibility and Input Monitoring to Karabiner-Elements.

Frequently Asked Questions

Does the Mac keyboard have Home and End keys?

Most Mac keyboards don’t have dedicated Home and End keys. Instead, they have keys labeled with arrows and a vertical bar. On full-size Apple keyboards, these keys are in the top-right corner, but they act as scroll keys by default.

What is the shortcut for Home on a Mac?

To move the cursor to the beginning of the current line, press Command+Left Arrow. To move to the beginning of the entire document, press Command+Up Arrow.

How do I make the Home key work on a Mac?

You can remap the physical Home key using a free app like Karabiner-Elements. Or, simply use the built-in shortcuts: Command+Left Arrow for line start, Command+Right Arrow for line end.

Why does Fn+Left Arrow not work like Home?

On a Mac laptop, Fn+Left Arrow is a system shortcut to scroll to the top of a page, not to move the cursor. It’s equivalent to the “Home” key in a browser, but not in a text editor.

Can I use a Windows keyboard on a Mac and get Home/End to work?

Yes, you can. Plug in the Windows keyboard and use Karabiner-Elements to remap the Windows Home and End keys to send Command+Left Arrow and Command+Right Arrow, respectively.

Are there any built-in options to change Home/End behavior?

macOS doesn’t offer a global setting to change the default scroll behavior of the Home and End keys. However, you can create per-app shortcuts in System Settings → Keyboard → Keyboard Shortcuts → App Shortcuts, but only for menu commands that exist in that app.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →