The basic ways to open a file on your MacBook

On a MacBook, you can open a file in several ways depending on what you're doing. The simplest is to find the file in Finder — the file manager that comes built into macOS — and double-click it. Your MacBook will automatically open the file in whatever program is set as the default for that file type. If you want to open it in a different program instead, right-click the file, select "Open With", and choose from the list.

You can also open files directly from within an application. In most programs, go to File > Open (or press Command+O), then navigate to the file you want and click Open. This method is useful when you already know which program you want to use, or when you want to open multiple files at once.

A third option is to drag a file directly onto an application icon in your Dock or Applications folder. This works with most programs and is often faster than navigating through menus.

Key Takeaways

  • Double-clicking a file in Finder opens it in the default program for that file type, which you can change in the file's Get Info window.
  • Right-clicking a file and selecting "Open With" lets you choose a different program without changing the default.
  • Using File > Open inside an application gives you a search box and filters to find files faster than browsing folders.
  • Dragging a file onto a Dock icon or application opens it immediately in that program.
  • Recent files appear in the File menu of most applications, so you can reopen something you worked on without hunting for it.

Finding files in Finder before you open them

Before you can open a file, you need to know where it is. Finder is the easiest place to look. Click the Finder icon in your Dock (it looks like a face made of squares), then use the sidebar on the left to navigate. Desktop, Documents, Downloads, and Applications are the most common places files live. If you know roughly when you saved the file, click "Recents" to see files you've worked on recently.

If you can't remember where a file is, use Spotlight search. Press Command+Space, type the file name or part of it, and Finder will show you matching files. This is usually faster than clicking through folders, especially if the file is buried several levels deep.

Changing which program opens a file by default

When you double-click a file, macOS uses a default program to open it. If you want a different program to open that file type every time, you can change this. Right-click the file, select "Get Info", and look for the "Open With" section. Click the dropdown menu, choose the program you want, then click "Change All". This changes the default for all files of that type, not just the one you're looking at.

Be careful with this setting — changing the default for a common file type like .pdf or .txt affects every file of that type on your MacBook. If you only want to open one specific file in a different program, use "Open With" from the right-click menu instead, which doesn't change the default.

Opening files that won't open

Sometimes a file won't open, usually because your MacBook doesn't have the right program installed. If you double-click a file and nothing happens, or you see a message saying the program is not found, try right-clicking the file and selecting "Open With" to see what programs are available. If the list is empty or shows only one option that didn't work, you may need to download the program that handles that file type.

Another common problem is that a file is corrupted or incomplete. If a file downloaded from the internet won't open, try downloading it again. If a file you created won't open, try opening a backup copy if you have one. You can also try opening the file with a different program — for example, many programs can open text files, so if one fails, another might work.

If you see a message saying the file is from an unidentified developer, macOS is blocking it for security reasons. Right-click the file, select "Open", and click "Open" again in the dialog that appears. This tells macOS you trust the file and want to open it anyway.

Using Spotlight and recent files to open things faster

Spotlight search is the fastest way to open a file when you remember its name but not where it is. Press Command+Space, type the file name, and when you see it in the results, press Enter to open it in the default program. You can also press the arrow keys to highlight a result and then press Command+Enter to see where the file is located in Finder without opening it.

Most applications also keep a list of recent files in their File menu. If you worked on a document recently, open the program you used and look at File > Open Recent. This is faster than hunting through folders, and it works even if you've moved the file since you last opened it.

Opening files from cloud storage and external drives

If your files are stored in iCloud Drive, Google Drive, Dropbox, or another cloud service, they appear in Finder just like local files. Click the service name in the Finder sidebar, navigate to the file, and double-click it to open. The first time you open a cloud file, your MacBook may need to download it, which takes a few seconds depending on file size and internet speed.

Files on external drives — USB drives, external hard drives, or network drives — also appear in the Finder sidebar under "Locations". Click the drive name, find your file, and open it the same way. Make sure the external drive is connected and powered on before you try to open files from it. If a file on an external drive opens slowly, it's usually because the drive is connected by USB 2 instead of USB 3, or the drive itself is slow.

Opening multiple files at once

If you need to open several files, you don't have to open them one at a time. In Finder, hold Command and click each file you want to open, then press Enter or double-click one of the selected files. All of them will open in the same program (or their respective default programs if they're different file types).

You can also select a range of files by clicking the first one, holding Shift, and clicking the last one. This selects everything in between. Then press Enter to open all of them. This is useful when you have a folder of similar files and want to work with several at once.

Frequently Asked Questions

What do I do if a file opens in the wrong program?

Right-click the file and select "Open With" to choose a different program for that one file. If you want to change the default for all files of that type, right-click, select "Get Info", find "Open With", choose the program you want, and click "Change All".

Can I open a file that's on someone else's computer?

Yes, if the file is shared with you through iCloud, Google Drive, Dropbox, or another cloud service. Click the service in your Finder sidebar and open the file like any other. If the file is on a network drive at work or home, the drive should appear in Finder under "Locations" — click it and navigate to the file.

Why does my MacBook say it can't open a file?

Usually because the program that opens that file type isn't installed. Try right-clicking the file and selecting "Open With" to see what programs are available. If none of them work, you may need to download the correct program. You can also try opening the file with a different program — for example, many programs can open text or image files.

How do I open a file that's compressed or zipped?

Double-click the .zip file and macOS automatically extracts it. The uncompressed file or folder appears in the same location. Then open the extracted file normally. If the extraction doesn't happen automatically, right-click the .zip file and select "Open With" > "Archive Utility".

Can I open files from my iPhone or iPad on my MacBook?

Yes, if they're stored in iCloud Drive or another cloud service. Open Finder, click iCloud Drive in the sidebar, and navigate to the file. You can also use AirDrop to send files between Apple devices — click the Finder icon, select "AirDrop" in the sidebar, and drag files onto the device you want to send them to.