When you enter your BIOS or UEFI settings, you'll usually find a SATA mode option with three choices: AHCI, RAID, and sometimes IDE. Choosing the wrong mode can cause Windows to fail to boot, or prevent your SSD from reaching its full performance.
This guide explains the differences between AHCI and RAID modes, which one you should choose, and how to change SATA mode without reinstalling Windows.
| Feature | AHCI | RAID |
|---|---|---|
| Full Name | Advanced Host Controller Interface | Redundant Array of Independent Disks |
| SSD Performance | Full (supports TRIM) | May limit TRIM on some configurations |
| NCQ Support | Yes | Yes |
| Hot-Swapping | Yes | Yes |
| Disk Array Support | No | Yes (RAID 0, 1, 5, 10) |
| Best For | Single SSD/HDD or non-RAID setups | Multiple drives in a RAID array |
| Complexity | Simple | More complex |
AHCI (Advanced Host Controller Interface) is the standard mode for SATA devices. It was introduced in 2004 by Intel and is supported by all modern Windows versions, macOS, and Linux.
RAID (Redundant Array of Independent Disks) mode allows you to combine multiple physical drives into one or more logical units for data redundancy, performance improvement, or both.
For 95% of users, AHCI is the correct choice. It provides the best SSD performance and is the standard mode for Windows installations.
Step 1. Press Win + R, type devmgmt.msc, and press Enter to open Device Manager.
Step 2. Expand "IDE ATA/ATAPI controllers" or "Storage controllers".
Step 3. Look for "Standard SATA AHCI Controller" (AHCI mode) or "Intel RAID Controller" / "AMD RAID Controller" (RAID mode).
Alternatively, check in BIOS during startup (press Del, F2, or F10) under the SATA or Storage configuration section.
Changing SATA mode directly in BIOS will cause Windows to crash on boot (BSOD INACCESSIBLE_BOOT_DEVICE) because Windows doesn't have the driver for the new mode loaded. Follow these steps to switch modes without reinstalling:
Step 1. Press Win + R, type msconfig, and press Enter.
Step 2. Go to the "Boot" tab, check "Safe boot", and select "Minimal". Click OK.
Step 3. Restart your PC and enter BIOS (press Del, F2, or F10 during startup).
Step 4. Change the SATA mode to AHCI.
Step 5. Save and exit BIOS. Windows will boot into Safe Mode.
Step 6. Open msconfig again, uncheck "Safe boot", and restart normally.
Step 1. Open Windows Terminal (Admin) and run:
bcdedit /set {current} safeboot minimal
Step 2. Restart and enter BIOS. Change SATA mode to RAID.
Step 3. Save and exit. Windows boots into Safe Mode.
Step 4. Open Windows Terminal (Admin) and run:
bcdedit /deletevalue {current} safeboot
Step 5. Restart normally.
If you changed SATA mode in BIOS without following the steps above, Windows will show a BSOD with INACCESSIBLE_BOOT_DEVICE. Here's how to fix it:
Step 1. Enter BIOS again and change SATA mode back to the original setting (AHCI or RAID).
Step 2. Save and exit. Windows should boot normally.
Step 3. Follow the Safe Mode method in Method 1 or Method 2 above to change the mode correctly.
If you no longer remember the original mode, try AHCI first (most common), then RAID if that fails.
Yes, for a single SSD. AHCI supports TRIM natively, which is essential for SSD performance and lifespan. RAID mode may not support TRIM on all configurations, and provides no benefit for a single drive.
Technically yes, but it offers no benefit and may limit TRIM support. Use AHCI for single-drive setups.
Yes, especially for SSDs. AHCI supports NCQ and TRIM, while IDE mode does not. Switching from IDE to AHCI can significantly improve SSD performance.
Only if you use RAID 0 with multiple SSDs. With a single SSD, RAID mode does not improve performance and may even reduce it due to lack of TRIM support.
All modern SSDs support TRIM. To check if TRIM is enabled in Windows, open Command Prompt (Admin) and run fsutil behavior query DisableDeleteNotify. If it returns 0, TRIM is enabled.
Before you switch the SATA controller mode in BIOS, create a full system backup. Changing between AHCI and RAID can stop Windows from booting because the storage driver no longer matches the new mode, and a system image is the fastest way to recover the original working state. Qiling Disk Master handles both the backup and the restore.
Step 1. Install and open Qiling Disk Master. On the home screen, open "Backup and Recovery" and choose "System Backup". This option automatically includes Windows and the hidden boot partitions, so you do not have to select them one by one.

Step 2. Check the source. The disk where Windows is installed and its system partitions are already ticked for you. If you only need your personal documents, run a separate "File Backup" task instead.

Step 3. Click the destination box and choose where the image should be saved. Use an external HDD or SSD, a NAS, or any drive other than the one you are about to repair, and make sure it has enough free space.

Step 4. Review the task summary and click "Proceed". Wait until the progress bar reaches 100%. Do not unplug the drive or turn off the PC while the backup is running.

Step 1. Open Qiling Disk Master again, go to "Backup and Recovery", and select the recovery option. Your backup images are listed, so pick the one you created before the repair.

Step 2. Choose the target disk or partition. Normally you restore to the original system disk. If the drive was replaced, select the new disk instead, and the restore rebuilds Windows together with its boot partitions.

Step 3. Preview the restore plan, click "Proceed", and confirm the warning. The PC restarts to finish the job, and Windows comes back exactly as it was on the day the image was created.

Choosing between AHCI and RAID depends on your storage setup:
For most users, AHCI is the correct choice. If you need to change SATA mode, follow the Safe Boot method above to avoid boot failures. Always back up your data before making system changes with Qiling Backup.