Guide 01 · Surveillance
How long should CCTV footage be kept?
Why 30 days is the common starting point, when to keep footage longer, how H.265 cuts storage, and how to check your NVR is actually keeping it.
30 days is the common starting point. The right number depends on how fast you notice incidents, what your sector or insurer requires, and how much disk you will buy.
Why 30 days became the default
Most incidents are noticed within a few days: a complaint, a damaged car, a missing bag. But some are only found at the end of a cycle. A stock count reveals a shortage. A monthly reconciliation finds a cash difference. A supplier disputes a delivery from three weeks ago.
A month of footage covers most of these. It lines up with monthly stock counts and accounting periods, and it is achievable with ordinary recorders and disks. That is why 30 days shows up so often in tenders and specifications. It is a habit, not a law.
When to keep longer
Ask one question: how long after an event does your business usually find out about it?
- Stock and warehouses. If you count stock quarterly, 30 days of footage will not show you where a shortage started. Consider 60 to 90 days for stockrooms and loading bays, even if the rest of the site keeps 30.
- Cash points. Cash desks, safes and counting rooms are often kept longer than general areas.
- Disputes and claims. If customers or suppliers can raise a claim weeks later, your retention should cover that window.
- Gates and perimeter. For factories and compounds, the gate camera is often the most useful one. It is worth keeping longer than an internal corridor.
You do not need the same retention on every camera. Most recorders let you set recording and, in many cases, a maximum number of days per camera. Long retention on the few cameras that matter and 30 days on the rest is usually cheaper than long retention everywhere.
When someone else sets the number
Some sectors and some sites have their retention set for them: by a licensing authority, a regulator, a security requirement, an insurer, or a contract with a client or landlord. If that applies to you, that number overrides any rule of thumb, including ours.
The practical advice is simple. Ask the body concerned for the requirement in writing, and keep the reference with your system documentation. "Someone told us 90 days" is not enough when an auditor asks.
Keeping it no longer than you need
Footage of identifiable people is personal data. Egypt has a Personal Data Protection Law (Law No. 151 of 2020). How it applies to the cameras at your site is a question for your legal adviser, not for us. But the principle behind every data protection framework is worth designing around anyway: keep footage for a clear reason, for a defined time, and let it be overwritten after that.
Longer is not automatically safer. More footage means more to protect, more disks to fail and more cost.
How retention turns into disk space
Retention is not really a setting. It is the result of how much disk you have and how fast your cameras fill it. When the disks are full, the recorder overwrites the oldest footage. So the number of days you get depends on four things: number of cameras, bitrate, recording hours and disk capacity.
The calculation is:
Storage per camera per day (GB) = bitrate (Mbps) ÷ 8 × 3,600 × recording hours ÷ 1,000
Take 32 cameras at 4 MP, recording continuously:
- With H.265 at about 3 Mbps: 32.4 GB per camera per day. For 32 cameras over 30 days, about 31 TB.
- With H.264 at about 6 Mbps: twice that, about 62 TB.
That difference is why the codec matters. H.265 was designed to deliver similar picture quality at roughly half the bitrate of H.264. In practice the saving varies with the scene, but it is often the cheapest way to extend retention. Check that your recorder and viewing software support H.265 on every channel before you switch.
Manufacturers also offer "smart" codec modes (H.265+ and similar) that cut storage much further on static scenes. A quiet corridor can shrink dramatically. A busy lobby or a gate at shift change will not. Measure the real bitrate on your recorder for a week before you rely on the saving.
Three other things change the number:
- Night. Image noise in low light raises bitrate. Cameras that look efficient at noon can use far more at 2 a.m.
- Motion recording. It saves space, but only if motion detection is reliable. A tree in the wind or a flickering light can trigger recording all night, and a badly drawn detection zone can miss what matters.
- Usable capacity. A 10 TB disk shows as about 9.1 TB on most recorders, because they count in binary units. RAID protection uses one or two disks' worth of capacity. Leave about 10% headroom.
Our CCTV storage calculator does this maths for you.
Making sure the recorder actually keeps it
The most common retention failure we see is not a wrong number. It is a recorder that stopped recording, and nobody noticed because live view still worked. Disks fail. Recording schedules get changed. A firmware update resets a setting. Cameras get added without anyone recalculating storage.
Four habits prevent most of this:
- Check the oldest recording every month. Open playback on a few cameras and go back to the earliest footage. If you need 30 days and it shows 11, you have a problem.
- Watch disk health. Most recorders report disk status. Someone needs to see those alerts. A RAID array with one failed disk is still running, but it is one failure away from losing everything.
- Keep the clock right. Footage with the wrong time and date is hard to use as evidence. Set the recorder to synchronise its time automatically.
- Recalculate when anything changes. New cameras, higher resolution or a codec change all affect retention.
When something happens
Footage you need will be overwritten on schedule unless you act. As soon as you know about an incident:
- Export the relevant clips from every camera that covers the area, with some time before and after.
- Check that the export plays on another computer.
- Store it somewhere separate from the recorder.
- Note who exported it, when, from which cameras and for what period.
A checklist
- Decide retention per area, not one number for the whole site.
- Get any external requirement in writing.
- Size disks for the real bitrate, with RAID and 10% headroom.
- Use H.265 where the system supports it well.
- Check the oldest recording monthly and watch disk alerts.
- Keep the recorder's clock synchronised.
- Have a written way to export and preserve footage.