Sub topic 9
Building and editing contact cards
This chapter assumes you can move around System Settings and the menu bar, and that you have already added at least one account in Internet Accounts. It also assumes you know what an Apple Account is. Here you will learn how a contact card is structured, how to create and edit one, and what goes wrong when cards are duplicated, stored in the wrong account, or edited in two places.
What a contact card is
A contact card is one record in the Contacts app. It describes a person or a company. Mail uses cards to autocomplete addresses. Calendar uses them to find invitees. Messages and FaceTime use them to match phone numbers to names.
Each card is made of fields. A field has a label and a value. For example, an email field might have the label "work" and the value [email protected]. Most fields can repeat, so one card can hold several emails, phone numbers, and addresses.
| Field type | Typical labels | Can repeat |
|---|---|---|
| Name | first, middle, last, prefix, suffix, nickname | No |
| Company and job title | company, department, job title | No |
| Phone | mobile, home, work, iPhone | Yes |
| home, work, other | Yes | |
| Address | home, work, other | Yes |
| Date | birthday, anniversary | Birthday is single, others can repeat |
| URL, social profile, related name | homepage, spouse, assistant | Yes |
| Note | none | No |
Which account owns a card
Every card lives in exactly one account. That account decides where the card is stored and which devices receive it. A card in iCloud syncs to your other Apple devices. A card in an Exchange or CardDAV account syncs to that server. A card in "On My Mac" exists only on this computer.
This matters because new cards go to the default account. If you create a card while your work Exchange account is the default, your personal friend lands on the company server.
To check or change the default:
- Open Contacts and choose Contacts > Settings.
- Select the General tab.
- Set "Default Account" to the account you want for new cards.
You can also see ownership in the sidebar. Contacts shows each account as a section, and the groups under it belong to that account.
Creating a card
- Open Contacts.
- Choose File > New Contact, or press Command-N.
- Type a first and last name, or tick Company to create a company card.
- Click a placeholder field, such as "add phone", and type the value.
- Change the label by clicking the label text beside the value.
- Click Done, or press Command-Return.
Contacts saves the card when you click Done. If the app is closed before then, the unsaved card may be lost.
To add a field that is not shown, choose Card > Add Field and pick it from the list. Common choices are Nickname, Birthday, Related Name, and Social Profile.
Labels
Labels are free text. Pick "Add Custom Label" from the label menu to make your own, such as "school". Custom labels sync, but other apps may show them differently. Some servers keep only the standard labels. If a custom label becomes "other" after a sync, the server dropped it.
Photos
Click the picture area in edit mode to add a photo. You can choose from Photos, take a picture with the camera, or use an emoji, a Memoji, or initials. Photos may be shared with other people through Messages, depending on your settings.
Editing and deleting
Select a card and click Edit, or press Command-Return. Change a value, then click Done. To remove a field, click the red minus button beside it in edit mode.
To delete a card, select it and press Delete. Contacts asks for confirmation. Deleting removes the card from its account, so it disappears from every device that syncs that account. Deleting is easy to undo right away with Edit > Undo, but it is hard to recover later.
The Card menu has a few useful commands:
- Card > Go to My Card opens the card that represents you.
- Card > Make This My Card marks the selected card as yours.
- Card > Add Field adds an extra field to the open card.
Your own card is used for autofill in Safari, for the sender details in Mail, and for what you share with others. If it is wrong, those places are wrong too.
Duplicates
Duplicates are the most common problem. They come from syncing the same person from two accounts, importing a vCard twice, or typing a person who already exists.
To find them, choose Card > Look for Duplicates. Contacts lists the cards it believes are the same person and offers to merge them. When you merge, the app combines fields into one card. It keeps both values when they differ, such as two phone numbers.
Merging has limits:
- Contacts only matches within the cards it can see. Cards in separate accounts can match, but the result stays in one account.
- The match uses names, emails, and phone numbers. Two people sharing a family phone number may be wrongly flagged. Read the list before you click Merge All.
- Merging cannot be undone with a single command in every case. Export a backup first if the address book is large.
Backing up before big edits
Before a bulk change, make an archive. Choose File > Export > Contacts Archive. The result is a single file that stores the whole address book and can be restored with File > Import. This differs from a vCard export, which writes standard cards but does not preserve everything about groups and layout. The next chapters cover vCard exchange in detail.
Reading cards from a script
Contacts can be read with AppleScript. This is the safe way to confirm what the app holds without editing it. The first run triggers a permission prompt, which the privacy chapter covers.
tell application "Contacts"
get name of every group
end tellThe script returns the names of your groups. If macOS shows an automation prompt, allow it for your terminal or Script Editor.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| New card not on iPhone | Card was saved to On My Mac or another account | Move it to iCloud, then check the default account |
| Custom label turns into "other" | The server does not support custom labels | Use a standard label |
| Same person appears twice | Two accounts both hold the person | Use Card > Look for Duplicates |
| Edits disappear | Edited in a read-only or subscribed source | Edit the card in its owning account |
| Wrong name in Mail | "My Card" or the card's email is wrong | Fix the card, then check Make This My Card |
Key points
- A card is a set of labeled, repeatable fields owned by one account.
- The default account decides where new cards go. Check it before you add many people.
- Delete and merge affect every synced device, so back up first with a Contacts Archive.
- Custom labels and rich fields depend on what the server supports.
Exercise
You create a new card for a friend, but it never appears on your iPhone, which syncs through iCloud. Name two things to check in the Contacts app on the Mac, and say what each would show.
Show answer
First, look at the sidebar to see which account section contains the card. If it is under "On My Mac" or a work account, it does not sync through iCloud, so drag it to an iCloud group or recreate it there. Second, open Contacts > Settings > General and check the Default Account. If it is not iCloud, new cards keep landing in the wrong place until you change it.
Exercise
Why should you export a Contacts Archive before using Merge All in Look for Duplicates?
Show answer
Merging combines cards and changes them in the owning accounts, and that change syncs to every device. Two different people may be flagged as the same, for example when they share a phone number, and the merge cannot always be reversed with one command. The archive stores the whole address book, so you can restore it if the merge goes wrong.