FileVault causing long boot time and terrible lag in the login screen I've been struggling with this peculiar problem for over a week now. It appears when I have the FileVault enabled and it behaves like this: when booting the laptop it takes 2 or 3 minutes until it gets to the login screen  and once it gets there I can't type anything and can barely move the cursor.

My current configuration is: 13-inch rMBP w/ macOS Sierra, 8GB RAM and somewhere around 30% available disk space. I've tried a PRAM/SMC reset but no lock. Also the diagnostics tool didn't return any error and in the recovery mode I couldn't find any disk errors to fix (before and after disabling FileVault). Even if I boot in Safe Mode successfully, after restarting it gets into the same issue again. 

I've tried tailing the system log, disabling useless .plist files and launch daemons that could've influenced the boot time. I've also tried unplugging all my peripherals and it's the same situation. However, with the FileVault disabled it doesn't get stuck in the login screen, but it still needs 1 minute to boot. 

I know about a similar issue with the MySQL daemon on Sierra, but it's not my case... I don't have any database installed locally. The single thing would be several homebrew packages that I don't see how they could influence the boot time. I've been pretty desperate with this issue and been trying to avoid starting from scratch with a clean install, because that would imply a lot of configuration.

One thing that I remember is that on El Capitan I didn't have this issue at all or anything related to startup and the boot time was generally of several seconds. Is there any solution or at least a method to give me a hint what's taking so long to boot my machine? Any help will be much appreciated.
I have had this exact problem.

I have a 2015 13" MBP running Yosemite (Mac OS X 10.10.5), not Sierra, though I have 8gb RAM and about 20% free space on an aftermarket 500gb SSD (e.g. not Apple factory installed). I use the laptop constantly and travel a lot with it. I've run into this bizarre boot/lag problem with FileVault roughly 2x-3x a year, and as luck would have it, it usually happens when I don't have access to any hands-on tech support besides myself.

The only thing that works for me:


Disable FileVault: boot into Recovery Mode (command-R after startup chime) or if you have another boot partition. I have a TechTool Pro (TTP) emergency boot partition. Run Apple's Disk Utility from that boot partition and use the "Turn Off Encryption" command.
Reset the SMC: shut down computer; hold shift-control-option-power for at least 10 seconds; start up computer.
Once decrypted, run disk utilities on that drive. Besides Apple's Disk Utility for disk and permissions repair, I use TTP's "Volume Rebuild" tool (once I've booted from the emergency partition).
Use the drive for a few days un-encrypted, with several clean reboots.
Boot back into Recovery or emergency partition and run all those utilities again.
Turn FileVault back on.


This typically works for me. However, it's annoying and time-consuming to resolve. And this is a repair, not a fix.  It will still happen again, randomly, sometime in the future.

The fact that you have this problem on Sierra (Mac OS X 10.12) suggests to me that the problem is deeper than just the OS.