Recovering a Formatted SD Card From a Security Camera

Recovering a formatted SD card from a security camera is often possible, but only for footage that has not been written over since the format. A format usually erases the card's index, not the video itself, so recovery software on a computer can often find some of it again. The catch is that a camera starts recording again the moment the card is ready, and every new minute it writes destroys old footage underneath. So the first step is not software — it is getting the card out of the camera, safely, right now.
This article covers what you can and cannot get back, the exact order to work in, and how to make sure an important clip never depends on luck again. If your problem is a card that never recorded in the first place, see why a camera is not recording to the SD card instead.
What "formatted" actually did to your footage
A memory card has two layers: the video data itself, and a small table that records which files exist and where they sit on the card. Most formats, including the quick format a camera or a phone usually runs, rewrite that table and leave the data where it was. The card now looks empty, but the old recordings are still physically there until something new is written on top of them.
That is why recovery works at all. Recovery software ignores the empty table and reads the card directly, looking for the patterns that mark the start of a video file.
Three situations change the picture:
- A full or secure erase. Some devices and some format options overwrite every part of the card. After that, there is nothing left to find. You usually cannot tell which kind of format a camera ran, so assume nothing and try anyway.
- Recording continued after the format. Whatever the camera wrote after the format went into space the format marked as free, and it has replaced the older footage that was sitting there. Where on the card it writes first varies by device, so you cannot know in advance which old segments survived.
- Loop recording overwrote it. This is the case people most often confuse with formatting. When the card fills, the camera deletes the oldest footage to make room. That is not a format — the old video has been written over, and overwritten footage cannot be recovered by any software or service.
The honest summary: footage from shortly before the format, in parts of the card the camera has not reached again, is the best candidate. Footage older than your card's normal retention window was probably gone before anyone pressed format.
Step 1: stop the camera writing, safely
Every minute the card stays in a recording camera reduces what you can get back.
- Unplug the camera, or switch off its power, first. Do not pull the card out of a camera that is running — removing a card mid-write is a reliable way to corrupt it further.
- Then remove the card. On most models the slot sits behind a small flap or a rubber cover, sometimes next to the reset button. Check the manual for your model if you cannot find it.
- If the camera is mounted high up, do not rush a ladder because you are worried about losing footage. Switch the camera off at the socket or the circuit, which stops recording just as well, and fetch the card when you can reach it safely. If the camera is wired into the building's electrics, switch off the circuit and have a qualified electrician handle anything beyond removing a card.
- Do not put the card back into any camera, and do not insert a spare card and let the camera format it if the old card is the one you care about. Put the old card in a small bag and label it.
If you cannot switch the camera off — a shared building, a camera someone else controls — turning recording off in the app's storage or recording settings is the next best thing, if your model and app version offer it. Menu names may differ slightly by app version.
Step 2: what not to do on the computer
The second most common way footage gets lost is on the computer, after the card has been rescued.
- When the computer says the disk needs formatting, click Cancel. Windows often offers to format a card it cannot read. Accepting that prompt makes recovery harder.
- Do not run disk repair or error-checking tools on the card. They "fix" the filesystem by rewriting parts of it, and they can mark recoverable data as free space.
- Do not copy anything onto the card, and do not save recovered files back to it. Recovered footage always goes to a different drive.
- Do not try the card in several devices "to see if it works". Each device that mounts it may write small files of its own.
Step 3: make a copy of the card first
Before scanning, make a full copy — an image — of the card onto your computer's drive. An image is a single file holding every part of the card, including the "empty" space where the old footage still sits.
Why bother: cards that have been through continuous recording are often worn, and a long recovery scan is a heavy read. If the card fails halfway, an image means you still have everything it held. You also get to try more than one recovery tool on the same copy without touching the original again.
How to do it:
- Use a card reader you trust. A built-in laptop slot or a USB card reader both work. A microSD card in an adapter is fine; check the adapter's lock switch is not half-engaged, which can make the card appear read-only or unreadable.
- Use disk imaging software that can create a sector-by-sector image of a removable drive. Many recovery programs include this as an option called something like "create image" or "disk image". If you have no idea which tool to use, a local computer repair shop can make the image for you.
- Save the image to a drive with enough free space. The image is the full size of the card, not the size of the footage. Check the capacity printed on the card and make sure your computer has at least that much room, plus room for the recovered files.
- If the card cannot be read at all, stop there. Repeated attempts on a physically failing card can finish it off. That is a job for a data recovery lab, covered below.
Step 4: scan the copy for video files
Point the recovery software at the image file, or at the card if your tool cannot work from an image.
- Choose the deep or full scan, not a quick scan. A quick scan reads the filesystem table, which the format emptied. The deep scan reads every part of the card looking for file signatures, which is what you need.
- Expect files with no names. Because the table was erased, recovered files usually come back with numbered names and no folders. Dates may be missing or wrong. You will have to open them to see what they contain.
- Expect an unfamiliar file type. Security cameras often record in formats meant for their own app rather than for a desktop player. Some recovery tools recognise these and some do not. If one tool finds only photos and fragments, try another before concluding the footage is gone.
- Sort by size. Recordings tend to be similar sizes, because cameras cut video into segments. Clusters of similar-sized files are a good place to start.
Step 5: check what you recovered
Open the recovered files with a capable media player. VLC plays many formats that the default player rejects, and it will often play a damaged file up to the point where the damage starts.
What each result usually means:
- The file plays normally. That segment was not overwritten. Copy it somewhere safe immediately, then keep going.
- It plays and then freezes or turns into grey blocks. Part of the file was recovered and part was overwritten, or the file was stored in pieces that the software rejoined in the wrong order. The playable part is still worth keeping.
- It will not open at all. Either the format is one your player does not support, or the file is mostly damaged. Try another player before discarding it.
- Only recent footage comes back. That fits a camera that kept recording after the format, or a loop that had already overwritten older days. It is the expected result, not a fault in the software.
If the timestamp burned into the picture is visible, that is the most reliable way to work out when a recovered clip was recorded, since the file dates usually do not survive.
When to get help
Stop doing it yourself and get help in these situations:
- The footage is evidence of a crime or a serious incident. Keep the card untouched, note when it was removed and by whom, and hand it to the police or your insurer and let them decide how to examine it. A careful chain of handling can matter as much as the footage itself; check local rules on how evidence should be handed over.
- The card is not detected by any computer, or the reader makes the computer hang. That points to physical failure. A professional data recovery lab can sometimes read cards that ordinary readers cannot. Ask for a quote and what they expect to recover before agreeing to work.
- Recovery software finds nothing at all on a card you know held footage. The format may have been a full erase. A specialist can confirm it, but be prepared for the answer that nothing is left.
Nobody can recover footage that was physically overwritten. If someone promises otherwise, treat that as a warning sign.
How to protect an important clip next time
Recovery is a gamble. These habits remove the need for it.
Export the clip the same day
The moment something happens, open playback, find the moment and save it to your phone, then copy it off the phone to a computer or cloud drive. Watching and saving playback recordings walks through the capture buttons and where saved clips end up. Footage on a card is always on a countdown to being overwritten.
Know your retention window before you need it
Scroll the playback timeline back to the oldest recording that still exists. That date tells you how long you have to act after an incident with your current card and settings. Check it once and write it down.
Pull the card instead of formatting it
If something important is on the card and the camera starts misbehaving, swap in a spare card rather than formatting the original. Keep a spare memory card for the CCTV camera in the drawer so this is a two-minute job. The removed card can then be copied at leisure.
Format deliberately, and never as a first fix
Many people format a card while troubleshooting and only later realise it held the clip they needed. Before formatting, ask whether anything on the card matters, and copy it first. The same applies to a factory reset: it usually does not touch the card, but behaviour can vary by model, and resetting the camera is a good moment to take the card out first anyway.
Choose the right card for CCTV use
A good SD card for a CCTV camera is one rated for continuous video writing, from a seller you can go back to. Worn or counterfeit cards fail in ways that look like random lost footage. Maximum supported capacity varies by model, so check your manual or ask the seller before buying.
Add a second copy where your model allows
Some models offer cloud recording as an option, and some can be viewed on a computer that keeps its own recordings. Whether either is available depends on your model and account, so check what your camera offers rather than assuming the footage exists anywhere other than the card.
Frequently asked questions
Can I recover footage after the camera formatted the SD card itself?
Often, yes, if the camera has not recorded much since. The chances drop with every hour the camera keeps recording, so the single most useful thing is to cut its power straight away. After that, work only on a copy of the card, never on the original.
Why did the recovery software find files that will not play?
Usually because the files were partly overwritten, or because the camera saved them in a format meant for its own app. Try opening them in VLC, which plays many unusual formats and shows damaged files up to the point of damage. If nothing plays, try a second recovery tool on your saved image of the card.
Will recovery bring back footage that loop recording deleted?
No. Loop recording does not just hide old footage, it writes new video over it, and overwritten data is gone for good. The only footage you can hope to recover is what still sits in parts of the card the camera has not written to again.
Is it safe to keep using a CCTV memory card after recovery?
Only once you have everything you need from it. Then format it inside the camera and watch whether the used space grows normally over the next few hours. If the card was unreadable, showed errors or needed recovery because it failed on its own, replace it, since worn cards tend to fail again.
Can I recover the SD card footage using just my phone?
It is not a good idea. Phones may offer to format or tidy up a card they cannot read, and phone apps rarely make a full copy of the card first. Use a computer with a card reader, image the card, and recover from the copy.
