Finder tags are user-defined labels, each with a name and an optional color, that macOS attaches to files and folders so they can be grouped, found and filtered regardless of their location. Within the Finder & files area of macOS, tags complement the folder hierarchy: a folder answers the question of where an item lives, while a tag answers what the item is about or what state it is in. The feature is also called macOS tags, and it replaced the older Finder labels in OS X Mavericks.
Because tags are stored as file metadata rather than as part of the path, one document can carry several tags at once, appear in several tag views simultaneously and keep its tags when moved between folders on the same volume.
How Finder tags are stored on disk
Finder tags live in an extended attribute named com.apple.metadata:_kMDItemUserTags, which holds a binary property list of tag names, each optionally followed by a color index from 0 to 7. The file content itself is never modified, so tagging a document does not change its checksum or its modification date in most cases.
Spotlight indexes the tag attribute, which is why tagged items appear instantly in the sidebar tag views, in search results and in Smart Folder queries. If Spotlight indexing is disabled for a volume, the tags remain on the files, but tag-based browsing becomes slow or incomplete until the index is rebuilt.
The following table summarizes the main storage properties and what each one means in practice.
| Property | Value or behavior | Practical consequence |
|---|---|---|
| Storage location | Extended attribute on the item | Survives renaming and moving within APFS or HFS+ |
| Number of tags per item | No practical limit | Several categories can apply at once |
| Colors available | Seven colors plus none | Many tags must share a color or have none |
| Search engine | Spotlight metadata index | Instant results when indexing is active |
| Sync across Macs | Tag list syncs through iCloud | Tag names and colors stay consistent |
Ways to apply and remove tags
macOS offers several equivalent entry points for tagging, so the best method depends on whether a user is filing one document or reorganizing hundreds. Every method writes the same attribute, so tags applied in one place are visible everywhere.
| Method | Where it is found | Best suited for |
|---|---|---|
| Context menu | Control-click on selected items | Quick tagging of a few files |
| Toolbar Tags button | Finder window toolbar | Adding new tag names while browsing |
| Save dialog field | Tags field when saving a document | Tagging at the moment of creation |
| Drag to sidebar tag | Tags section of the Finder sidebar | Bulk tagging of a large selection |
| Get Info window | Tags field at the top of the window | Reviewing all tags on one item |
| Keyboard shortcut | Control plus 1 to 7 on recent macOS | Fast tagging with favorite tags |
Removing a tag from an item uses the same menus. Deleting a tag entirely in Finder Settings, Tags pane, removes that tag name from the list and from every indexed item, which is a destructive change that cannot be undone with the Edit menu.
Finder tags compared with folders and Smart Folders
Tags, folders and Smart Folders solve different organizing problems, and experienced users combine all three rather than choosing one. A folder imposes a single hierarchy, a tag adds many-to-many classification, and a Smart Folder is a saved Spotlight query that can use tags as one of its criteria.
| Tool | Relationship to files | Strength | Limitation |
|---|---|---|---|
| Folder | Item is in exactly one folder | Clear physical location | One category per item |
| Finder tag | Item can have many tags | Cross-folder grouping | Depends on metadata support |
| Smart Folder | Virtual view of matching items | Combines tags, dates and kinds | Relies on Spotlight index |
| Alias | Pointer to one original item | Item appears in a second place | No classification meaning |
A frequent design is to keep folders for ownership or project boundaries and use tags for status and cross-cutting themes, such as Review, Invoice or Archive. A Smart Folder that shows every item tagged Review and modified in the last 30 days then becomes a dynamic work queue without moving any file.
When tags survive and when they are lost
The single most important limitation of Finder tags is that they travel only where extended attributes travel. Copies within macOS on APFS or HFS+ keep tags, but many transfers silently strip them, which is the source of most complaints about lost tags.
| Transfer or storage | Tags preserved | Reason |
|---|---|---|
| Copy between APFS volumes | Yes | Native extended attribute support |
| iCloud Drive | Yes | Apple syncs the tag metadata |
| FAT32 or exFAT drive | Partly | Stored in hidden AppleDouble files |
| SMB share from a NAS | Depends on server | Requires streams or AppleDouble support |
| Email attachment | No | Only file content is sent |
| Third-party cloud sync | Varies by service | Many services ignore extended attributes |
| ZIP made by Archive Utility | Usually yes | Metadata kept in a hidden folder |
On non-Apple file systems, macOS writes tags into AppleDouble companion files whose names begin with a dot and an underscore. Deleting those files on Windows or Linux removes the tags permanently, so testing a workflow before relying on tags for shared storage is essential.
Working with tags from the command line
Administrators and power users can read and search tags without the Finder. The mdfind command queries the Spotlight index, for example mdfind "kMDItemUserTags == Review", and mdls -name kMDItemUserTags lists the tags of a single file. The xattr command shows the raw attribute, although its binary property list format is not meant for direct editing.
- Searching by tag:
mdfindreturns paths of all indexed items with a given tag. - Inspecting one file:
mdlsprints the tag names Spotlight has recorded. - Writing tags in scripts: open-source utilities or AppleScript are safer than editing the attribute by hand.
- Backups: Time Machine and
rsyncwith extended attribute options preserve tags, while basiccpoptions may not.
Common mistakes with Finder tags
Most problems with tags come from treating them as a replacement for folders or from creating too many of them. A short, stable vocabulary of roughly five to fifteen tags is easier to apply consistently than dozens of overlapping names.
- Relying on color alone: only seven colors exist, so color should signal priority or status, not subject.
- Inconsistent spelling: tags named Invoice and Invoices are different tags and split search results.
- Assuming tags sync everywhere: tags may disappear on shares or cloud services that ignore metadata.
- Deleting a tag globally by accident: removal in Finder Settings affects every tagged item.
The short version
Finder tags work like colored sticky notes on files. A document does not have to sit in only one drawer. You can stick several notes on it, such as Urgent, Taxes or Family. Later, your Mac can show everything with a certain note, no matter which folder it sits in.
The notes are attached to the file itself. They usually stay when you move or rename it. The catch is that some places peel the notes off, such as email or certain shared drives. Tags therefore work best for files you keep on your Mac or in iCloud Drive.
Where it makes a difference
A freelance architect keeps client projects in separate folders, one per client, each holding drawings, contracts, invoices and photos. At the end of each quarter, she needs every unpaid invoice across about 40 project folders. She creates two tags, Invoice in red and Paid in green, and applies Invoice when saving each billing document from her accounting app.
She then builds a Smart Folder with the rule tag is Invoice and tag is not Paid. When a payment arrives, she adds the Paid tag and the file drops out of the view automatically. Her quarterly review shrinks from an hour of browsing folders to a single window showing about a dozen open invoices, while the project folder structure stays untouched. Because her backup drive is formatted as APFS, the tags are also preserved in her Time Machine copies.