macOS does not store a file for each display's wallpaper. It stores a per-display pointer, a record of which image is assigned to which screen, inside a per-user preferences database. The image itself lives wherever it already sits on disk: a system asset, your Photos library, or any folder you chose. You change it through System Settings, where each monitor gets its own thumbnail and its own wallpaper assignment.

The confusion is understandable. People expect a “wallpaper folder” per screen, because Windows historically behaved that way. On a Mac, the operating system keeps a small assignment table instead of duplicating images. Once you know where that table lives and how the assignment mechanism works, both questions resolve quickly.

The per-display assignment mechanism

Each connected display is described by macOS as a display configuration object. That object carries properties such as resolution, rotation, color profile, and a desktop picture reference. When you assign an image to a monitor, macOS writes that reference to the per-user preferences store rather than copying the file.

The modern store is a SQLite-style preferences database that replaced older plist files on recent macOS versions. It sits inside your home Library folder, under the Preferences path. Older systems used discrete property list files with “desktop” in the name. The principle is identical in both: the file holds a path or asset identifier, not pixel data.

A crucial detail: the image path can be a file URL, a Photos asset identifier, or a reference to a system asset shipped inside the operating system bundle. System wallpapers are not loose JPEGs in a folder you can browse. They are packaged dynamic assets that can shift with the time of day, and macOS resolves them internally.

Because the record is a pointer, moving or renaming the source image breaks the assignment. The desktop may fall back to a solid color or an older cached image. The wallpaper was never “in” the monitor or “in” a hidden folder; it was always at the path you selected.

Plain-language version: macOS keeps a note that says “this screen shows this picture file,” and the note, not the picture, is what changes when you switch monitors.

What the assignment record actually contains

The stored entry holds several fields beyond the image reference. It records whether the image should be scaled, stretched, tiled, or centered. It records the fill color shown behind transparent images. It also records which display identifier the setting belongs to, which matters when you disconnect and reconnect a monitor.

Display identifiers are not stable across all hardware changes. A monitor plugged into a different port can receive a new identifier, and the old assignment may not follow it. That is why a secondary display sometimes returns to a default wallpaper after you rearrange cables or add a third screen.

The identifier matching also explains a common behavior. If you set different wallpapers on two identical monitors, then swap their cables, the assignments travel with the identifiers, not with the physical panels. The images effectively swap screens. This surprises people, but it follows directly from pointer-based storage.

The preferences database is per-user, not system-wide. Two accounts on the same iMac can assign completely different wallpapers to the same physical monitor. The assignment lives in each account’s home folder, protected by file permissions.

Quantified context: sizes, formats, and limits

Wallpaper image files range widely. A typical 4K desktop image is 3840 by 2160 pixels. A 5K iMac panel is 5120 by 2880 pixels, roughly 14.7 million pixels. Retina scaling means macOS may render at double the logical resolution, so larger source images avoid softness.

A standard JPEG at high quality for a 5K image lands around 3 to 8 megabytes. HEIC files are usually smaller for the same visual quality. PNG files with photographic content can be ten times larger. None of this affects where the file is stored; it only affects load time and disk use.

The assignment record itself is tiny, typically a few kilobytes per display. That asymmetry is the whole point. You can have a 20-megabyte wallpaper on a 5120-by-2880 screen and a preference entry measured in kilobytes pointing at it.

Apple ships dynamic wallpapers that change with local time. These are packaged assets with multiple frames rather than single files. The per-display setting still records a reference, but the rendered image depends on the clock, which is why two Macs set to the same dynamic wallpaper can look different at the same moment.

Edge cases that break the mapping

External monitors introduce variable behavior. A display connected over HDMI, DisplayPort, or USB-C may register differently depending on the adapter. Cheap adapters that renegotiate the link can cause macOS to treat the monitor as a new device, resetting its wallpaper.

Hot-plugging during sleep is another trigger. If you close the lid or sleep the Mac, unplug the monitor, and reconnect it later, the display configuration can be rebuilt. The wallpaper may revert. Setting it again usually sticks until the next topology change.

Multiple displays with different scaling modes can also interact. When macOS changes the effective resolution of a secondary screen, it sometimes rewrites the desktop picture properties for that display. The image reference usually survives, but a fill color or scaling mode may reset.

Managed Macs add another layer. If your organization enforces a wallpaper policy through a configuration profile, your manual change may be overwritten at the next policy refresh. The assignment record is still per-user, but a management profile can take precedence.

A moved or renamed source image breaks the pointer and triggers a fallback. Third-party “wallpaper manager” apps may rewrite the same preferences and conflict with System Settings. Cloud-synced folders can present placeholder files that the desktop cannot render until downloaded. A monitor connected through a KVM switch may be re-detected on every switch, resetting assignment. Managed devices can override per-user wallpaper choices via configuration profiles.

Red-flag warning: do not delete or edit files inside your Library preferences folder by hand to “fix” wallpaper behavior. Corruption there can affect display settings broadly. Change wallpapers through the interface instead.

Misconceptions about “where the picture is stored”

The most persistent myth is that macOS copies your chosen image into a hidden system folder. It does not. The desktop reads from the original location. If you choose a photo from an external drive and later unplug that drive, the wallpaper may disappear or revert.

A second myth is that each monitor has its own wallpaper file. There is one file and many pointers. Assigning the same image to three screens creates three references, not three copies.

A third myth concerns system wallpapers. People search for a folder of Apple’s default images and assume those are ordinary files. Many are packaged assets, and some are dynamic. You cannot always locate a single JPEG that corresponds to what you see.

A counterintuitive detail worth knowing: the wallpaper you see during the login window is not your user wallpaper. Before login, macOS displays a system-level image or the last selected user’s cached desktop, depending on settings. Your per-display assignment applies after your account loads.

Comparison of storage approaches makes the difference clear.

Approach What is stored per display Where the image lives Breaks if file moves
macOS per-display pointer Reference, scaling, fill color Original file or system asset Yes
Copy-into-library model Duplicated image file Managed library folder No
Dynamic packaged asset Reference plus time logic Inside OS asset bundle Not applicable
Managed policy wallpaper Policy-enforced reference Organization-defined source Depends on policy

The copy-into-library model is common on other platforms and in some third-party apps. It trades disk space for robustness. macOS chooses the pointer model, which is lean but sensitive to file moves.

How to change the wallpaper on a secondary monitor

Open System Settings, then Wallpaper. You will see a preview area with thumbnails representing each connected display. Select the thumbnail for the secondary monitor, then choose an image from the built-in collections, your Photos library, or a folder via the add-folder option.

Confirm the assignment by watching the secondary screen update. If it does not change, click a different thumbnail and return. This forces the settings panel to re-read the display configuration.

Choose a source image at least as large as the monitor’s pixel dimensions. For a 4K external display, that means 3840 by 2160 or larger. Smaller images are scaled up and look soft, especially on Retina panels.

If the wallpaper reverts after sleep or cable changes, reconnect the monitor, reassign the image, then restart before unplugging again. This lets macOS write a stable configuration for the current topology.

For dynamic wallpapers, verify the appearance setting that controls light and dark mode. A dynamic image may look static if the appearance is fixed. Switching appearance triggers the expected change.

To locate the assignment record for troubleshooting, open your home Library folder via the Go menu with the Option key held. Navigate to Preferences and look for the desktop-related preferences database. Do not edit it; use its presence only to confirm the per-user model.

Threshold guidance for image choice: below the panel’s native pixel count, expect visible softness; at or above it, scaling is clean. For a 27-inch 5K panel, that threshold is 5120 by 2880. For a 24-inch 4.5K panel, it is 4480 by 2520. Reconcile these against your actual display’s reported resolution in System Settings before choosing.

Limitations and what cannot be concluded

The exact internal schema of the preferences database is undocumented and changes between macOS releases. Apple does not publish field names or guarantee stability. Any guide that claims a precise key name may be correct for one version and wrong for the next.

Behavior across third-party monitors varies by adapter, firmware, and port. No single rule predicts every reset scenario. Testing your own hardware topology is the only reliable check.

Dynamic wallpaper rendering depends on location services and system time, which are settings you control but which interact in ways Apple does not fully document. Treat observed behavior as empirical rather than guaranteed.

This article is general educational information about macOS display settings, not technical support or a guarantee of specific outcomes on your hardware. For device-specific problems, consult Apple Support or a qualified technician.