How-To

How to Rebuild the Database on PS5 (Safe Mode Guide That Fixes Crashes and Lag)

How to rebuild the database on PS5 in Safe Mode, step by step. What it fixes, how long it takes, whether you lose data and what to try if games still crash.

By RealHelper Editorial Team · · 5 min read

Glowing game controller in blue light for a guide on how to rebuild the database on PS5
In this article
  1. What does rebuilding the database on PS5 actually do?
  2. Before you start: a 1-minute checklist
  3. How to rebuild the database on PS5, step by step
  4. Clear cache vs rebuild database vs reset: which one do you need?
  5. Does rebuilding the database delete games on PS5?
  6. When rebuilding the database helps (and when it will not)
  7. Still crashing after a rebuild? Try these next
  8. Quick recap

To rebuild the database on PS5, turn the console fully off, then press and hold the power button until you hear a second beep (about seven seconds). Connect your controller with a USB cable, press the PS button, choose Clear Cache and Rebuild Database, then Rebuild Database. It takes a few minutes, and it does not delete your games or saves.

That is the short version. Below is the full walkthrough, what rebuilding actually does, and when it is worth trying. If you are here because a brand-new game keeps crashing (hello, GTA 6 players), this is one of the first fixes support teams suggest, so it is worth five minutes of your time.

What does rebuilding the database on PS5 actually do?

Your PS5 keeps an index of everything on its storage: games, patches, saves, screenshots and where each piece lives on the drive. Over time, after hundreds of installs, updates and deletions, that index can get messy. You may see a game icon that will not disappear, slow menus, downloads that stall, or games that crash at random.

Rebuild Database scans the drive and creates a fresh index of all content on the system. PlayStation's own support page describes it as useful when you have system feature issues or when a game icon stays on the home screen after you deleted it. Think of it like reorganizing a messy bookshelf: the books stay, only the catalog is rewritten.

Before you start: a 1-minute checklist

  • A USB cable for your controller. Safe Mode does not accept Bluetooth input, so the controller has to be plugged in. A USB-C cable that carries data is needed, not a charge-only cable.
  • Let downloads finish. If a big patch is installing, wait for it to complete first.
  • Back up your saves (optional but smart). Rebuild Database does not wipe data, but if you have PlayStation Plus, cloud saves are a nice safety net before any troubleshooting.
  • Do not turn the console off mid-rebuild. Leave it alone until it restarts on its own.

How to rebuild the database on PS5, step by step

  1. Turn the PS5 off completely. Not Rest Mode. Hold the PS button on the controller, choose Power, then Turn Off PS5. Wait until the light on the console goes dark.
  2. Enter Safe Mode. Press and hold the power button on the console. You will hear one beep right away. Keep holding until you hear the second beep, roughly seven seconds later, then let go.
  3. Connect the controller with a USB cable and press the PS button. The Safe Mode menu appears.
  4. Select Clear Cache and Rebuild Database. The number of this option can differ slightly between system versions, so look for the name rather than the number.
  5. Choose Rebuild Database and confirm with OK.
  6. Wait. A progress bar appears. Most consoles finish in a few minutes; a nearly full drive can take longer. The PS5 restarts by itself when it is done.
Tip: Try the faster option first. In the same Safe Mode menu, Clear System Software Cache takes under a minute and fixes many performance drops on its own. If the problem comes back, return and run Rebuild Database.

Clear cache vs rebuild database vs reset: which one do you need?

Safe Mode optionWhat it doesDeletes your data?Try it when
Clear System Software CacheRemoves temporary system filesNoMenus feel slow, games stutter, first thing to try
Rebuild DatabaseScans the drive and rebuilds the content indexNoGames crash, ghost icons, downloads misbehave
Restore Default SettingsPuts system settings back to factory defaultsSettings onlyA setting change broke something
Reset PS5Wipes the console back to factory stateYes, everythingLast resort, after backing up

PlayStation warns that some Safe Mode options cause data loss, so read each label carefully. Rebuild Database is not one of them, but Reset PS5 definitely is.

Does rebuilding the database delete games on PS5?

No. This is the question almost everyone asks, and the answer is reassuring. Games, save files, captures and your account all stay put. The one small side effect people notice is that the home screen and game library may reorder themselves afterwards, because the console is reading a brand-new index. That is normal.

When rebuilding the database helps (and when it will not)

Honestly, rebuilding is not magic, but it is free, safe and quick, which makes it a great second step after a simple restart. It tends to help with:

  • Games crashing to the home screen with general error codes
  • Slow or laggy menus and a sluggish game library
  • Icons for deleted games that will not go away
  • Downloads or updates that stay stuck in the queue

It will not fix a bug inside a game itself. If thousands of players are hitting the same crash in the same mission, the real fix will come from a developer patch. That is exactly the situation many players are in with GTA 6 error CE-108255-1 on PS5: rebuilding can reduce random crashes, but it cannot rewrite the game's code.

Still crashing after a rebuild? Try these next

  1. Update everything. Settings, System, System Software for the console, and press Options on the game tile, then Check for Update, for the game.
  2. Give the console air. Make sure the vents are not blocked and the PS5 is not in a closed cabinet. Heat makes long sessions unstable.
  3. Check free space. Very full drives slow everything down. Keep some breathing room, especially before big patches. If you are new to big installs, our guide to GTA 6 download size and first steps shows how much space a modern open-world game needs.
  4. Delete and reinstall the problem game. Sony recommends this for some error codes, such as CE-107891-6.
  5. Use PlayStation's repair tool. If several different games crash, run PlayStation's online diagnostic and repair checker on the official support site.

Quick recap

Rebuilding the PS5 database is one of the safest troubleshooting steps you can take: turn off the console, hold power until the second beep, plug in the controller, choose Clear Cache and Rebuild Database, then Rebuild Database. Five minutes, no lost saves, and a good chance your console feels snappier. If you play on PS5 Pro and wonder whether the upgrade changes any of this, our GTA 6 PS5 vs PS5 Pro comparison covers the hardware side.

Source for the Safe Mode options: PlayStation Support, How to use Safe Mode.

Cover photo: Unsplash

Frequently asked questions

Does rebuilding the database on PS5 delete my games or saves?

No. Rebuild Database reorganizes the index of what is stored on your console. Your games, saves, screenshots and settings stay where they are. Only the Reset options in Safe Mode wipe data.

How long does it take to rebuild the database on PS5?

Usually a few minutes. On a console with a full drive or a large extended storage drive it can take longer, so let it finish and do not switch the console off.

Which Safe Mode option is Rebuild Database on PS5?

Choose Clear Cache and Rebuild Database, then select Rebuild Database. Clear System Software Cache sits in the same menu.

Should I clear the cache or rebuild the database first?

Clear the system software cache first because it is the quickest. If games still crash, stutter or show wrong icons, go back into Safe Mode and rebuild the database.

#how to rebuild database on ps5#ps5 safe mode#ps5 rebuild database#ps5 clear cache#does rebuilding database delete games ps5#ps5 games crashing fix