“The Lightroom Catalog … is corrupt and cannot be used or backed up until it is repaired”
Updated 26 November 2026
Lightroom Classic shows this message when its catalog file (.lrcat) fails its own
database check. It offers to repair the catalog. Sometimes the repair works; sometimes the repair fails, or
it finishes but leaves only a part of your library. Here is what to do, in order.
1. Stop and make a copy first
Quit Lightroom Classic. Copy the .lrcat file to another drive or folder together with the files
of the same name ending in -wal (it can hold your latest changes) and -data. Preview
folders (.lrdata) are not needed. Every repair attempt writes to the file, so keep one untouched
copy before you try anything.
2. Test and repair — on a second copy
Hold Alt (Windows) or Option (macOS) while starting Lightroom Classic, select the second copy and check
Test integrity of this catalog. Let Lightroom Classic run its repair if it offers one; it may
keep a copy of the original in a Corrupt Catalogs folder next to the catalog. If the copy opens and your
photos, collections and keywords look complete, keep using it and make a fresh backup.
If that fails, create a new catalog and import the damaged copy into it (File > Import from Another Catalog). Lightroom Classic brings over what it can still read.
Check the result before you rely on it. A repair that “succeeds” can still drop records it could not read — compare the number of photos in All Photographs with what you expect.
3. If the repair fails: look for a backup
Lightroom Classic backs up the catalog as zip files, by default in a Backups folder, usually
inside the folder that holds the catalog. A backup from last week is often the fastest way back, at the cost
of the changes made since then. See how to restore a catalog
from a backup.
4. No backup, or it is too old: recover what the file still holds
A corrupt catalog often still contains most of its data — the damage is in some pages of the database, not in
all of it. SQLite, the database format of .lrcat files, has a recovery procedure that reads every
page it can and writes the readable rows into a new database. You can run it yourself in a terminal (see
catalog repair options) or in your browser with CatalogMedic, which
also shows a free report of what came back before any payment.
What “corrupt” often means
- The computer lost power or Lightroom Classic crashed while writing to the catalog.
- The catalog lives on a network drive, a cloud-synced folder or an external drive that disconnected.
- The disk has bad sectors.
After you get your data back, keep the catalog on a local drive, outside cloud-synced folders, and keep Lightroom Classic's backups turned on.