Lightroom catalog repair tool: the options, compared honestly

Updated 30 November 2026

A Lightroom Classic catalog (.lrcat) is an SQLite database. That gives you several ways to get a damaged one back. Whatever you choose, start with a copy of the catalog files and work only on the copy.

OptionWhat it doesGood to know
Lightroom Classic's built-in repairRuns when Lightroom Classic finds the catalog damaged and tries to fix it in place.Free and the first thing to try — on a copy. Sometimes the repair fails, or it finishes and drops records it could not read.
Import into a new catalogCreates a fresh catalog and imports what Lightroom Classic can read from the damaged one (File > Import from Another Catalog).Free; on a copy.
Restore a backupReplaces the damaged catalog with an earlier zipped copy.Free and reliable, if the backup is recent. Changes since that backup are lost.
sqlite3 .recover in a terminalReads every page of the database it can and writes the readable rows into a new file.Free and the method experienced users recommend in forums. Needs the command line and a recent sqlite3 (version 3.29 or later).
Lightroom-specific catalog toolsDesktop apps that read data out of a catalog.Paid; need an install.
General SQLite recovery softwareDesktop programs that recover any SQLite database.Paid; not made for Lightroom Classic, so the result is a database, not a report about your photos.
CatalogMedicRuns the SQLite integrity check and recovery in your browser and reports what came back: photos, folders, collections, keywords, ratings.No install or terminal; the file stays on your computer. The report is free; the rebuilt catalog and a CSV are a paid export.

Doing it yourself in a terminal

If you are comfortable with the command line, this is what recovery looks like with the SQLite command-line tool. Run it in the folder with your copy:

sqlite3 "Catalog-copy.lrcat" "PRAGMA integrity_check;"
sqlite3 "Catalog-copy.lrcat" ".recover" | sqlite3 "Catalog-recovered.lrcat"

The first line lists the damage; the second writes every readable row into a new file. Rows the tool cannot place in their tables end up in a table named lost_and_found. If a -wal file sits next to the catalog, copy it together with the catalog so the tool can read the latest changes.

What no tool can do

Recovery reads what is still in the file. Data that was overwritten or never written is gone, whichever tool you use. That is why CatalogMedic shows the numbers first: if the report shows nothing to recover, a backup is your way back.

Related: catalog is corrupt and the repair fails and catalog cannot be opened.