How to fix the APFS drive fsroot tree invalid error on macOS Mojave/High Sierra?

Posted by Juno to Mac Data Recovery on January 8th, 2018

Encountered the error message "fsroot tree is invalid" or "error: btn invalid btn_btree.bt_key_count"? Unable to access the APFS drive as well as the data stored on it? Relax. Here's the full tutorial to help you recover lost data from the APFS drive with iBoysoft Mac Data Recovery, and also fix/repair the fsroot tree invalid error on APFS drives or volumes.

The error message "Checking the fsroot tree, fsroot tree is invalid" appears when you checking an APFS drive/partition with First Aid. It indicates that the APFS volume header can't be found or the information showing where the volume header is can't be found. Once the volume header is missing, or fsroot tree is invalid on APFS drives, the files on the drive will become inaccessible. That's why there're lots of users searching for solutions to fix the APFS drive fsroot tree invalid error on macOS Mojave/High Sierra, etc.

fsroot tree is invalid

What's worse, if the APFS drive is the startup drive and shows "fsroot tree is invalid" error, your Mac may stop working. Don't worry. This article will provide you easy ways to fix "APFS fsroot tree is invalid" error on macOS Mojave 10.14/High Sierra 10.13.

Fix "APFS fsroot tree is invalid" error on Mojave/High Sierra

Before fixing the APFS drive fsroot tree invalid error, please make sure you have a backup copy of the data on the APFS drive. If not, to avoid data loss, you need to recover lost data from the APFS drive with the best APFS data recovery software, like iBoysoft Mac Data Recovery.

iBoysoft Mac Data Recovery is professional Mac data recovery software that can recover data from APFS drives showing "fsroot tree is invalid" in First Aid. It can recover deleted/lost files from APFS drives, recover data from formatted APFS hard drives, recover data from unreadable APFS hard drives, recover data from unmountable APFS drives, recover lost data from encrypted APFS volumes, and recover deleted/lost APFS partitions, etc.

Step 1: Recover data from the APFS drive showing "fsroot tree is invalid" error

1. Launch iBoysoft Mac Data Recovery.

2. Select the APFS drive which shows "fsroot tree is invalid" error and click "Next" button to scan for lost files.

Recover data from APFS drives

3. Preview the searching results, choose files you want to get back, and click "Recover" button.

4. Check to ensure you have got all the lost data back.

Aside from recovering data from APFS drives, iBoysoft Mac Data Recovery can also recover data from hard drives, external hard drives, USB flash drives, SD cards, and Pen drives that are formatted, unmountable, inaccessible or corrupted.

Step 2: Fix APFS "fsroot tree is invalid" error by reformatting

1. Launch Disk Utility.

2. Select the APFS drive which has "fsroot tree is invalid" error on the left part of the window.

3. Click Erase on the top of the Disk Utility window.

4. Complete related information (name, format, scheme), then click Erase button.

Still have questions?