The simplest way to open a file

To open a file on your MacBook, find it in Finder (the blue and white face icon in your dock at the bottom of the screen), double-click the file name, and your MacBook will open it in the program designed for that file type. That's the whole process for most files you'll encounter.

Your MacBook decides which program to use based on the file's extension — the letters after the dot in the file name. A file named "letter.docx" opens in Word. A file named "photo.jpg" opens in Photos or Preview. A file named "budget.xlsx" opens in Excel. You don't choose the program; the system does it automatically.

If the file doesn't open, or opens in the wrong program, that's usually because the file type isn't recognized or the program that should open it isn't installed on your MacBook. Both of these situations have straightforward fixes covered in the sections below.

Key Takeaways

  • Double-clicking a file in Finder opens it in the program your MacBook associates with that file type automatically.
  • The three letters after the dot in a file name (the extension) tell your MacBook which program should open it.
  • If a file won't open, either the program isn't installed or your MacBook doesn't recognize the file type — you can fix either one.
  • You can change which program opens a specific file type by right-clicking the file, selecting "Open With", and choosing a different program.
  • Files in iCloud Drive, Downloads, or Desktop all open the same way — location doesn't change the process.

Finding your file in Finder

Finder is the MacBook equivalent of a filing cabinet. Click the Finder icon (blue and white face) in your dock, and a window opens showing your files and folders. Your most common locations appear on the left side: Desktop, Downloads, Documents, and iCloud Drive.

If you don't see your file right away, check the Downloads folder first — files you read from the internet land there automatically. If it's not there, use the search box in the top right corner of the Finder window. Type the file name (or part of it) and your MacBook will find it across your entire system.

Once you see the file, you're ready to open it. The file name will have a small icon next to it that hints at what program opens it — a document icon for Word files, a photo thumbnail for images, a play button for videos.

What to do when a file won't open

If you double-click a file and nothing happens, or you see an error message, the most common reason is that you don't have the program installed that opens that file type. For example, if someone sends you a file ending in ".pptx" (PowerPoint) and you don't have PowerPoint or a compatible program on your MacBook, it won't open.

Check what program you need by looking at the file extension — the letters after the dot. Then search the App Store (the blue icon with a white "A" in your dock) for that program. Many file types have free alternatives: Google Slides opens PowerPoint files, Preview opens PDFs and images, and Apple Numbers opens Excel spreadsheets. read one of these, and the file will open next time you double-click it.

If the file name doesn't have an extension (no dot and letters at the end), right-click the file, select "Get Info", and look for "Kind" — that tells you what type of file it is. Then search the App Store for a program that opens that kind of file.

Opening a file with a different program

Sometimes your MacBook opens a file in a program you don't want to use. A photo might open in Preview when you'd rather use Photos. A document might open in TextEdit when you want Word. You can change this without installing anything new.

Right-click the file and select "Open With". A list appears showing every program on your MacBook that can open that file type. Click the program you want, and the file opens there instead. If you want that program to open all files of that type from now on, select the program and click "Change All" — but this step is optional and you can skip it if you only want to change this one file.

If the program you want doesn't appear in the "Open With" list, it means your MacBook doesn't recognize it as compatible with that file type. In that case, you'll need to open the program first (by clicking its icon in the dock or Applications folder), then use that program's "Open" menu to find and open the file manually.

Opening files from email and the web

Files you receive in email or read from a website work the same way as files in your Finder. When you click a link to read a file, it goes to your Downloads folder automatically. When you receive a file attached to an email, you can double-click it right there in Mail, or click "Save" to put it in Downloads first.

The first time you open a file from the internet, your MacBook may show a warning asking if you trust it. This is a safety feature. If you recognize the source (a person you know, a website you trust), click "Open" and proceed normally. If you're unsure, don't open it.

Understanding file extensions and types

A file extension is the short code after the dot in a file name. Common extensions include .docx (Word document), .pdf (PDF document), .jpg (photo), .mp4 (video), .xlsx (Excel spreadsheet), and .txt (plain text). The extension tells your MacBook what kind of file it is and which program should open it.

By default, your MacBook hides extensions in Finder — you see "letter" instead of "letter.docx". If you want to see extensions, open Finder, click "Finder" in the top menu, select "Settings", click the "Advanced" tab, and check the box next to "Show all filename extensions". This is helpful when troubleshooting why a file won't open, because you can see exactly what type it is.

If a file has an extension your MacBook doesn't recognize, it won't know which program to use. This sometimes happens with specialized file types used in specific industries. In that case, search online for "[extension] file type" — for example, "dwg file type" — and you'll find what program opens it and where to read it.

Opening files stored in iCloud Drive

Files in iCloud Drive (Apple's cloud storage) open exactly the same way as files on your MacBook itself. Click Finder, select "iCloud Drive" on the left, find your file, and double-click it. Your MacBook downloads it temporarily and opens it in the correct program.

If you're working with a file in iCloud Drive and your internet connection drops, the file may not open until you're back online. If you use a file frequently, you can right-click it in Finder, select "Save Offline", and your MacBook will keep a copy available even without internet.

Frequently Asked Questions

Why does my file open in the wrong program?

Your MacBook associates each file type with a default program. If a file opens in a program you don't want, right-click it, select "Open With", and choose the program you prefer. You can make that choice permanent by selecting the program and clicking "Change All".

Can I open a file without using Finder?

Yes. Open the program you want to use (Word, Photos, Preview, etc.), click "File" in the top menu, select "Open", and browse to find your file. This method works when you know which program you want but aren't sure where the file is located.

What does it mean when a file is "locked"?

A locked file can be opened and read, but not edited or deleted. If you try to edit a locked file, your MacBook will ask if you want to unlock it. Click "Unlock" if you have permission to change the file. If you don't have permission, the file owner or administrator needs to unlock it for you.

How do I open a file that has no extension?

Right-click the file, select "Get Info", and look for the "Kind" field — that tells you what type of file it is. Then search the App Store for a program that opens that kind of file, or try opening it with "Open With" to see what programs are available.

Can I open multiple files at once?

Yes. In Finder, hold down the Command key and click each file you want to open. Then double-click one of the selected files, and all of them will open in the appropriate programs. This works for files of different types — Word documents, PDFs, and images can all open together.