Are there keyboard shortcuts to scroll to the top and bottom of a document?

I'm using a Macbook and want to scroll to the top and bottom of documents using the keyboard. Is there a keyboard shortcut that does this?

111k 16 16 gold badges 290 290 silver badges 338 338 bronze badges asked Nov 12, 2010 at 2:28 909 1 1 gold badge 6 6 silver badges 3 3 bronze badges What is the application you're using to display the document? Commented Nov 29, 2010 at 15:23

Danny, you've not made it 100% clear and as such makes it very difficult to answer; Can you please make it really clear if this is for any document, or only for web pages / only Word Processing / only Databases etc? -1

Commented Jun 5, 2013 at 11:25

@DaveRook "Document windows" are a standard nomenclature on OS X, and scrolling to the top or bottom of those usually works with the keys Dennis mentions below, not even in those, but all kinds of apps. I agree the question seems vague but it's not really…

Commented Jun 5, 2013 at 20:58

10 Answers 10

On a Macbook, try fn + ◄ (function + left arrow) for Home and fn + ► (function + right arrow) for End.

answered Nov 12, 2010 at 4:43 Dennis Williamson Dennis Williamson 109k 19 19 gold badges 174 174 silver badges 190 190 bronze badges This only works in some apps. Commented May 14, 2015 at 20:35 And this only moves focus, not cursor. Commented Jul 29, 2015 at 11:56

For the PDF docs, it goes fine as mentioned in the answer. In case of the MS Docs file, you may use CMD+ fn+ LeftArrow/ RigthArrow .

Commented Dec 4, 2017 at 3:49

In finder.app, in a folder with many files, fn+→ scrolls slowly to the bottom with lag and cmd+fn+→ scrolls instantly. Go figure.

Commented May 26, 2021 at 19:26

Sure. Just use cmd - Down or cmd - Up . The cmd key is to either side of the spacebar.

826 1 1 gold badge 9 9 silver badges 16 16 bronze badges answered Nov 12, 2010 at 2:35 2,594 3 3 gold badges 21 21 silver badges 20 20 bronze badges everyone says that but that does not work. I don't know why but i have tried it many times Commented Nov 12, 2010 at 3:21

Command-up Command-down works on my Macbook, make sure that the page is in focus and not a text area or box. Click on some "white space" then try cmd-up and cmd-down.

Commented Jan 25, 2012 at 22:43

That only works in browsers. In Finder cmd+up is to navigate to parent folder and cmd+down is to navigate into a folder or open a document.

Commented Nov 14, 2013 at 19:46 This works (e.g. in Sublime). Commented Jul 29, 2015 at 11:57 works in VS Code Commented Jan 25, 2018 at 10:55

If you hold fn and cmd at the same time, then hit ◄ (left arrow) for scroll to top or ► (right arrow) for scroll to bottom, that should do it.

109k 19 19 gold badges 174 174 silver badges 190 190 bronze badges answered Jan 25, 2012 at 22:22 179 1 1 silver badge 2 2 bronze badges

This answer is wrong. Just try it on this very web page in Safari. It will not navigate the web page, but go to the home page ( Command-Home ) or do nothing ( Command-End ). In TextEdit, it will just produce the notification sound for unassigned keyboard shortcuts.

Commented Jan 25, 2012 at 22:28 It at least works for Office/Word, which is what one may assume is meant by "Document." Commented Jan 26, 2012 at 2:55 Doesn't work in Pages though, so this seems to be specific to Microsoft programs on OS X. Commented Jun 15, 2013 at 19:25 works for intellij Commented May 7, 2014 at 19:30 This is the correct answer for iTerm2 Commented Dec 23, 2020 at 19:23

For clarification, this question must be answered twice:

1. For internet browsers (FF, Safari, Chrome, . ), but also for Apple's Pages it's

cmd + ▼ for jumping to bottom and cmd + ▲ for jumping back to top.

2. For Finder, and also for Microsoft Word it's

fn + cmd + ► for jumping to bottom and fn + cmd + ◄ for jumping back to top.

Notice: The shorcuts from 1. will work in Finder, too. When you hit cmd + ▼ in Finder you'll open the selected folder or document (same as cmd + O , O for Open). When you hit cmd + ▲ in Finder you'll be navigated to the parent folder. With these two you are able to quiete easily navigate in Finder with just keyboard shortcuts.

answered Nov 14, 2013 at 19:41 826 1 1 gold badge 9 9 silver badges 16 16 bronze badges

You need to hold down Fn + Option simultaneously; then to go to the beginning of the document, press the Up cursor as well, while to go to the end of the doc press NOT down, but Right cursor.

24.4k 39 39 gold badges 119 119 silver badges 176 176 bronze badges answered Jun 17, 2013 at 21:32 setgeltatam setgeltatam 11 1 1 bronze badge

Try with: Command + Fn + left arrow / right arrow . Worked for me.

1,950 2 2 gold badges 18 18 silver badges 24 24 bronze badges answered Jul 8, 2013 at 4:13

That one is the right answer, understanding that the OP wanted to navigate inside documents and not on web pages.

Commented Nov 14, 2013 at 16:18

If you are on a website, holding down FN and Left Arrow at the same time takes you to the top. If you are in MS Word for Mac, hold down FN Command and Left Arrow to take you to the top. FN Right Arrow to go to bottom if on a website. FN Command Right Arrow to go to bottom on MS Word for Mac.

answered Jan 8, 2019 at 20:40

This is the same information already in multiple other answers here. While this question doesn't have a selected answer, it is still best to stick to answers where the information you have to give a) answers the question and b) has not already been provided.

Commented Jan 8, 2019 at 21:33

Memorizing the UI patterns "might" be easier than memorizing the keyboard combinations.

Desktop Applications

Direction
The Arrow key moves anything that can be pointer focused in a given direction.

Cmd + Direction
The Cmd + Up|Down key combination moves to the beginning or end of a scrollable view pane.

Fn + Direction
The Fn + Left|Right key combination moves to the beginning or end of a content component within a scrollable view pane. Note: On legacy keyboards this action is performed by the Home and End keys.

Fn + Cmd + Direction The Fn + Cmd + Left|Right key combination is a "secondary" way to move to the beginning or end of a "secondary" content component within an application that is already using the Fn + Left|Right key combination within the "primary" view pane. This usage is not very common, but that is the typical reason for why it is used.

Web Browsers

Web Browsers are not Desktop applications, but they do share some of the same patterns. This is useful, but can also lead to a lesser realized point of confusion.

Direction
Same as desktop apps.

Cmd + Direction
Same as desktop apps.

Fn + Direction
Same as desktop apps if within an editable text element. Otherwise, Fn + Left aliases Cmd + Up and Fn + Right aliases Cmd + Down . I don't know why these aliases are used, but their support seems consistent.

Point of Confusion

Some Desktop applications (e.g. VS Code, Slack, Spotify) are built on top of Web browser engines (e.g. Chromium via Electron). This allows for both Desktop Application key combinations and Web browser key combinations to be supported simultaneously. This behavior can be overridden by the Application Developer to support one or the other, but doing nothing often leads to outer containers recognizing Desktop key combinations with inner containers recognizing Web browser key combinations. Depending on the application context this might be good or bad, but it's almost always confusing.