Apple - Is AFP slated to be removed from future versions of macOS?

Apple Filing Protocol is deprecated1, not "dead". There's a big distinction and that is being deprecated, it's still included and still works at the time of last development but it has been superseded by something else - in this case SMB2. It also means there will be no further development.

Will it stop working in future versions of macOS?

There will come a point in which Apple no longer includes support for a particular protocol or service. Only Apple will know this for certain.

Can I safely use AFP without worrying about it "dying" on me?

AFP is not going to die the same way cron didn't die when Apple went to launchd. If you are running AFP today, you will have AFP tomorrow. It won't be "upgraded out". That said, Apple can decide tomorrow that future versions of macOS will no longer come with AFP; that won't break your existing macOS installation.

What all this means is that as a deprecated protocol, manufacturers are going to stop including support for AFP in new products (like NAS devices) and systems admins should begin making plans to switch over to newer technologies. Also, being deprecated, it's no longer the default file sharing protocol meaning you will (eventually) have to take explicit steps to enable/connect to AFP shares.

It's important to note that AFP does not support the new APFS (Apple File System) so newer versions of macOS (Sierra going forward) will not have the ability to serve AFP shares.2

You can share APFS formatted volumes using the SMB network file sharing protocol. The AFP protocol is deprecated and cannot be used to share APFS formatted volumes.

Though, they will probably include the AFP client so it can continue to connect to legacy devices/systems.

1 Deprecated refers to a software or programming language feature that is tolerated or supported but not recommended. A deprecated attribute or feature is one that may eventually be phased out, but continues to be used in the meantime. Deprecation also helps to ward off backward compatibility issues, giving users time to migrate and begin using the newer recommended feature. The deprecated feature will continue to work in the current environment, but will show a warning message that the feature being used may be removed in future releases. Source: Techopedia.

2 Source: - Apple File System (APFS) announced for 2017, scales ‘from Apple Watch to Mac Pro’ and focuses on encryption

No one can answer that question except Apple. Everything else is just rumours and conjecture.

However, the fact that Time Machine is based on AFP, and that AFP has seen many improvements to support Time Machine, could be seen as an indicator that AFP is here to stay for a little while.

Note that Time Machine is fully supported over SMB, so if you can setup SMB just as well as AFP now - then SMB is probably going to be supported for the longest period of time from now.

The new APFS only can be shared over SMB and NFS.

AFP started deprecation in the fall of 2013 with 10.9 / Maverick


When that transition hits, the answer will be yes AFP file sharing protocol can be considered removed.


Of course, you will still have APFS for older OS versions and potentially on newer versions if you do not convert and are not forced to convert your HFS based file systems to APFS.

From the filesystems introduction of the link above:

HFS+ and its predecessor HFS are more than 30 years old. These file systems were developed in an era of floppy disks and spinning hard drives, when file sizes were calculated in kilobytes or megabytes.

A Developer Preview of Apple File System is available in macOS Sierra. Apple plans to release Apple File System as a bootable file system in 2017.

Time Machine is fully supported over SMB. We won't know when apple pulls the trigger on walking away from HFS and AFP, but the writing is already up on Apple's very public developer website wall.