SPSS Data File Corrupt or Lost? How to Get Your .sav Back
You go to open your SPSS data file and it won’t load. SPSS reports that the file is damaged or not a valid data file, it opens with no cases, or the .sav file has disappeared from the folder where you kept it. For a student with a dissertation deadline or a researcher months into a project, that is a frightening moment. The good news is that an SPSS project is rarely a single file, and there are several places to look before you assume the data is lost.
Don’t save over the damaged file
Before anything else, protect what you have. If the file opens in an odd state, don’t press Save. If it has been deleted, stop saving new files to that drive. Make a copy of the damaged .sav (or compressed .zsav) file and anything else in the same folder, put the copy somewhere separate, and only ever try fixes on the copy. Many recoverable files are lost because the user saved an empty or half-loaded dataset over the original while trying to fix it.
Check the obvious places first
- Recycle Bin or Bin – files deleted from a local drive usually go here first.
- Recent files in SPSS – the File menu shows recently opened data files, which can reveal where a copy you had forgotten about was saved.
- Downloads and email – if you have ever sent the file to a supervisor or downloaded it from a survey platform, an older copy may be there.
- A search of the whole computer for *.sav, sorted by date, in case the file was simply saved to a different folder.
OneDrive, university drives and version history
Most universities give students and staff OneDrive, and many research teams work from a network drive or SharePoint. These keep earlier versions of files. In OneDrive, right-click the file and look for version history; deleted files go to the OneDrive recycle bin. University network drives often have snapshots or “previous versions” that the IT service desk can restore for you. On a personal Windows PC, File History may hold older copies, and on a Mac, Time Machine. Restore the older version to a new name rather than replacing the current file, so you don’t lose anything if the restored copy is also faulty.
Rebuild from syntax and raw data
If no good copy of the .sav file exists, think about how the dataset was built. In many projects the data came from somewhere else and was then cleaned and recoded in SPSS:
- The raw export – survey tools such as Qualtrics, Microsoft Forms or Jisc Online Surveys keep your responses and let you export them again. Data entered from a spreadsheet may still exist as an Excel or CSV file.
- Syntax files (.sps) – if you used syntax, or pasted commands from the dialog boxes, your variable labels, value labels, recodes and computed variables can be re-run against a fresh import.
- Output files (.spv) – your output viewer files contain the commands that produced each table, which can help you rebuild steps you didn’t save as syntax, and they hold your results even if the data has gone.
- The journal file – SPSS can keep a journal of the commands run in each session. Check the file locations in SPSS’s options to see whether it is switched on and where it is saved.
Rebuilding takes time, but for many students it gets the dataset back in hours rather than weeks. It is also a good argument for keeping a syntax file for every project from now on.
When the drive is the problem
Sometimes the file is damaged because the storage it lives on is failing. Warning signs include:
- The laptop freezing or becoming very slow when you open files.
- Other documents, photos or PDFs on the same drive also refusing to open.
- A USB stick or external drive asking to be formatted, or showing the wrong size.
- Clicking or ticking from a hard drive, or the laptop not booting at all.
If you see these signs, stop. Don’t run repeated disk checks, don’t download free recovery tools onto the same drive, and never format a USB stick or drive that asks to be formatted. Every attempt to read a failing drive can make things worse. If your dataset was on a laptop that has stopped working, our Dell laptop data recovery and HP laptop data recovery pages explain how we deal with the most common student machines.
Protecting your data from now on
- Keep the raw export untouched in its own folder and do all cleaning in SPSS on a copy.
- Save your work as syntax, not just as menu clicks.
- Save dated versions of the .sav file at key stages, rather than overwriting one file for months.
- Keep your project in OneDrive or on a university drive as well as on your laptop, and follow your university’s data management and ethics rules on where research data may be stored.
- Never keep the only copy of a dissertation dataset on a USB stick.
Need the original file back?
If there is no backup, no raw export and the drive holding your SPSS files has failed or been wiped, a specialist lab may still be able to recover the original .sav and its related files. Data Retrieval offers a free assessment, with no obligation, before any work goes ahead. You can request a quote online or call us on 020 7064 4996 to talk through what happened to your data.
