On Wednesday, I saw a post widely shared about an unfortunate individual who lost half of their local library and was blaming Apple Music for automatically deleting their local files.

I sympathize, and I'm very glad this person had a backup of their music, but I want to dispel some FUD here: Apple Music has definite problems and its matching algorithms aren't great, but this is simply not how the service works. Apple Music should never automatically delete files off your primary Mac's hard drive unless you specifically delete them first.

How Apple Music on your primary Mac works

When you enable Apple Music on your original Mac, the service scans your music library and matches any tracks you own to its streaming library. This is so, when you're on a secondary device — like an iPhone, iPad, or other Mac — you can stream those tracks at their highest quality without having to download local files. These referenced files become part of your iCloud Music Library.

If you have tracks that aren't in Apple Music's library — say, personal recordings, for instance — they will be uploaded as-is to your iCloud Music Library, though songs encoded in ALAC, WAV, or AIFF will be uploaded as AAC 256kbps files for easier storage.

Once this matching and uploading process is complete, you have two libraries: your locally-stored library on your original Mac with all your old files, and an iCloud-stored library that you can access from other devices.

Where it gets confusing

On your original Mac, Apple Music will never delete songs without your knowledge. Your original library is scanned into iCloud, but your songs are yours, and Apple will not automatically delete them, or replace them with its own proprietary copies.

On an iPhone, iPad, or secondary Mac, this process is different: Any songs you play on those devices are sourced directly from your iCloud Music Library, and even if you download them locally, they can be removed from your device if your iPhone's storage space dips too low.

You can, however, download iCloud Music Library-sourced tracks on your Mac if you delete your original copies — and this is what I suspect may have happened to Vellum Atlanta author James Pinkstone's original library, possibly unknowingly.

When you press delete on a song in your iTunes Library with Apple Music or iTunes Match enabled, you'll see the following dialog:

If you choose "Remove Download," it will send the local file from your hard drive to your Trash, but leave the reference in your library — so that you can stream that track directly from iCloud Music Library. It won't delete the file until you empty your Trash.

This is great if you're on a laptop and want streaming access to your music library, but you don't want the hassle of having 40GB of music on your hard drive. But it should only ever be done on a secondary computer or secondary iTunes Library — never for your master library.

This is because iCloud Music Library's matching is far from perfect: It's been known to match live albums to studio ones, original songs to cover tracks, and more. If you delete your original files to save some space, you're putting those tracks at the mercy of iCloud.

Worse, iCloud Music Library only sticks around while you have an active Apple Music subscription: If you delete songs and replace them with iCloud versions — even if you re-download those versions to your hard drive — they'll disappear or become inoperable 30 days after you cancel your subscription.

As such, I've advised from the beginning to always keep a master copy of your original library when using streaming services that match your library, and back up that library before signing up for anything cloud-related.

Is this Apple's fault?

Sort of. iCloud Music Library is confusing as all hell, and it's been so since the first days of iTunes Match. That's absolutely Apple's fault.

In an ideal world, iCloud Music Library would work like Dropbox, or even iCloud Photo Library — whatever you upload is yours, it doesn't get "matched" to anything, and as long as you re-download everything before you cancel your subscription, you're fine. But DRM and downloading streaming tracks you don't have ownership rights to mucks things up. iCloud Music Library is always going to be complicated, and people are going to make mistakes because of it. And if they don't have backups, those mistakes might be costly.

There's also a possibility that some nasty bug wiped out Pinkstone's original library unintentionally. We haven't been able to reproduce this problem, however; Apple is currently talking with Pinkstone and investigating other reports from a small number of individuals.

Whatever the case, Apple Music was never designed to delete Pinkstone's source library, and it won't delete yours. That's simply not how the service works on your primary Mac. But if you're not aware of how iCloud Music Library stores copies of tracks, you may delete your local copies to save space, thinking you can get them back — and get screwed as a result.

For more information on iCloud Music Library and the Mac:

This post may contain affiliate links. See our disclosure policy for more details.

Latest And Best Prime Day Deals

It might be Prime Day, but this Instant Pot deal is available to everyone
Instant Pot 3-Quart Duo Mini Pressure Cooker
$39.95 $65.00 Save $25

This 3-quart multi-cooker is perfect for smaller households or serving sizes, and today's deal beats the others we've seen.

Unlock voice control with Echo device deals and $5 Amazon smart plugs
Amazon Echo devices bundled with $5 smart plugs

Amazon's Smart Plug lets you start voice controlling anything plugged into it by asking an Alexa-compatible device, and today's deal lets you snag one for only $5 with purchase of select Echo devices.

Be more productive with a year of Office 365 Home and a free $50 Amazon gift card
Office 365 Home 12-month subscription and $50 Amazon gift card
$99.99 $150.00 Save $50

The subscription works with up to six people, but that card can be all yours.

Amazon's Fire TV Cube is down to just $70 thanks to this Prime Day deal
Amazon Fire TV Cube
$69.99 $119.99 Save $50

Grab TCL's 32-inch 720p Roku TV for less than $100 in this Prime Day Lightning deal
TCL 32S325 32-inch 720p Roku TV
$99.99 $130.00 Save $30

Act fast while you can. These Lightning deals tend to sell out quick.

The Ring Alarm security system is reaching new low prices for Prime Day
Ring Alarm home security systems

Various configurations of the Ring Alarm are discounted to their best prices yet exclusively for Prime members at Amazon through Tuesday night to help keep your home secure.

The Sonos Beam Prime Day deal includes a $40 discount and 2 $50 Amazon gift cards
The Sonos Beam Prime Day deal includes a $40 discount and $100 in Amazon gift cards
$359.00 $499.00 Save $140

That's just so much savings in one deal. You'll have to wait for the physical gift cards, but that's basically $100 to spend however you want.

Prime Day dropped this PlayStation 4 console bundle to just $250
PlayStation 4 Slim 1TB console with Marvel's Spider-Man and Horizon Zero Dawn
$249.99 $359.98 Save $110

This deal on the PlayStation 4 Slim console saves you $50 off its regular price while also including Marvel's Spider-Man and Horizon Zero Dawn Complete Edition for free. You'll just need an Amazon Prime membership to snag it.

More Prime Day Deals