Nothing ruins a deadline like an AutoCAD drawing that suddenly refuses to open, throws strange errors, or crashes every time you pan. The good news: most damaged DWG files can be repaired with tools that are already built into AutoCAD. In this guide we walk through the three commands every drafter should know - RECOVER, AUDIT and PURGE - plus the fallback tricks to try when they are not enough.
Signs Your DWG File Is Corrupted
File corruption is not always dramatic. Sometimes the drawing will not open at all, but often the symptoms are subtle. Watch out for these warning signs:
- AutoCAD reports errors while the file is opening, or offers to recover it.
- Objects cannot be selected consistently, or some objects behave oddly when you edit them.
- Saving and opening take far longer than they used to, and the file size keeps growing.
- The program crashes on routine actions such as zooming, plotting or inserting a block.
Common causes include crashes or power cuts during a save, files copied over unstable network connections, and messy content imported from other drawings or third-party sources. Blocks and details pasted from outside files are a classic way for junk data to creep into an otherwise healthy project.
Before you do anything else, make a copy of the damaged file. Every repair method below changes the drawing, so keep the original untouched in case you need to try a different approach.
RECOVER: Repair a Drawing That Will Not Open
RECOVER is the command to reach for when a file simply refuses to open. Instead of opening the drawing normally, it reads the file, repairs what it can and then opens the result. Here is how to use it:
- Start AutoCAD with a new, empty drawing (do not try to open the damaged file first).
- Type RECOVER at the command line, or open the Application Menu and go to Drawing Utilities > Recover.
- Browse to the damaged DWG and select it.
- Read the report AutoCAD shows when it finishes - it lists how many errors were found and fixed.
- If the drawing opens, save it, close it and reopen it to make sure the repair holds.
If your drawing has external references, use RECOVERALL instead (listed as "Recover with Xrefs" in the same Drawing Utilities flyout). It recovers the host drawing and also repairs its attached and nested xrefs, which saves you from fixing each reference file one by one. If you often juggle references across many sheets, our guide to attaching an XREF to multiple drawings is a handy companion.
AUDIT: Check and Fix an Open Drawing
When a drawing opens but behaves strangely, AUDIT is your first stop. It scans the database of the open file for integrity errors.
- Type AUDIT at the command line (it is also under Application Menu > Drawing Utilities).
- When AutoCAD asks whether to fix any errors detected, answer Yes.
- Review the summary at the command line, then save the file.
- Close and reopen the drawing - problems often disappear after a fresh open.
Tip: set the AUDITCTL system variable to 1 if you want AutoCAD to write the audit results to a report file you can keep for your records. It is also good practice to run AUDIT straight after a successful RECOVER, since a second pass can catch issues the first one missed.
PURGE: Clean Out the Clutter
PURGE does not fix corruption directly, but it removes the unused baggage that makes drawings heavy and slow and that often hides damaged data. Type PURGE to open the Purge dialog box, where you can review unused named items such as blocks, layers, linetypes and styles. A few options are worth knowing:
- Purge nested items removes unused items even when they are referenced only by other unused items, so you do not have to click Purge All repeatedly.
- Zero-length geometry and Empty text objects delete lines, arcs and polylines with no length and text that contains only spaces.
- Orphaned data removes obsolete DGN linestyle data and 3D solid history data that can bloat a file.
- The Find Non-Purgeable Items view explains why something cannot be purged, which is useful for tracking down stubborn layers or blocks.
Run PURGE until there is nothing left to remove, then save. Tidy, purged files are also much easier to work with when you build reusable content such as dynamic blocks in AutoCAD.
When RECOVER Is Not Enough
Occasionally a file is too badly damaged for the built-in repair commands. Before giving up, try these options:
- Use autosave and backup files. AutoCAD's Automatic Save is on by default. Check the Automatic Save File Location in the Options dialog, find the file with your drawing's name and a .sv$ extension, copy it and rename it to .dwg. A .bak file saved beside the original can be renamed the same way.
- Drawing Recovery Manager. After a crash, this palette (also opened with the DRAWINGRECOVERY command) lists the backup versions available for the files you had open.
- WBLOCK into a fresh file. Thaw and unlock all layers, use WBLOCK to write every object to a new drawing, then AUDIT and PURGE the new file. Damaged non-graphical data is often left behind.
- DXF round trip. Export the drawing with DXFOUT, then open the DXF and save it as a new DWG.
- Insert into a blank drawing. Insert the damaged file into a new drawing as a block, explode it, and clean up.
Conclusion: Make Repair a Habit
RECOVER rescues files that will not open, AUDIT fixes errors inside drawings that do, and PURGE keeps everything lean. Use them in that order, always work on a copy, and keep Automatic Save switched on so you have a recent .sv$ file to fall back on. Better still, make AUDIT and PURGE part of your routine before issuing drawings and after importing content from outside sources. A few seconds of housekeeping today can save hours of redrawing tomorrow.
