Back to Learn
Cameras · Storage

How long do security cameras keep footage?

Until the drive fills. Then the recorder writes over the oldest day, every day. Here is how to work out your number of days, change it, and save a clip before the loop reaches it.

By Seneca Security Published March 25, 2026 · Updated November 5, 2026 13 min read

Technical figures checked against the sources listed at the end.

Security cameras and CCTV recorders keep footage until the drive is full, then overwrite the oldest video first, so the real answer is a number of days set by drive size, number of cameras and bitrate. Eight cameras at 2.5 Mbps each on an 8 TB drive keep about 37 days; typical systems are sized for a few weeks, and the setting is yours to change. If you need a clip, export it now, because the loop will reach it.

Fig 1The loop: how a recorder deletes video
1 29 2 30 3 31 4 32 5 33 6 34 7 35 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 ! EXPORTEDDAY 3 CLIP THE DRIVE HOLDS 28 DAYS
Day 1Example: a drive that holds 28 days

Day 1. The recorder writes every camera around the clock, one day after another.

On the driveDays 1 to 1
Drive4% full
Lobby video, day 3Not yet recorded
Copy off the recorderNone
Jump to
Export
Each slot is one day of video from every camera. The write head moves one slot a day; once the ring is full, each new day lands on the oldest one. The incident on day 3 survives until day 31 and no longer, unless someone exported it.

01How long does security camera footage last? Until the loop comes around

A recorder, an NVR for network cameras or a DVR for older analog ones, writes every camera to its hard drives around the clock. It does not stop when the drives fill. With overwrite turned on, which is the usual setting, it deletes the oldest recording and writes the newest in its place, hour after hour. Figure 1 draws that drive as a ring. Our glossary entry on the network video recorder covers the box itself.

So the honest answer to how long security cameras keep footage is not a fixed number. It is however many days fit on the drive at the rate your cameras write, and that number can change without anyone touching a setting: add two cameras, or let a busy season fill the street outside, and the oldest day on the drive gets younger.

Why the clip you need is often already gone

Incidents rarely get reviewed the day they happen. A missing package is noticed when the tenant gets home; damage turns up at the monthly walk; a claim letter arrives weeks later. In Figure 1 the drive holds 28 days. The package goes missing on day 3, and on day 31 the tenant asks for the video. That morning the recorder wrote day 31 over day 3. Nothing on the screen said so.

Two settings decide when video is deleted

Overwrite. On, the recorder loops as described. Off, it stops recording when the drive is full and keeps the old video, which sounds safer but means the next incident is not recorded at all. Leave it on and size the drive instead.

Maximum retention. Many recorders also have a setting, often called expiry or maximum days, that deletes video older than a set number of days even when space is left. It is how a written policy of, say, 30 days is enforced. When both limits apply, the shorter one wins: a drive with room for 37 days and a 30 day expiry keeps 30.

02How to calculate how many days your cameras keep footage

Retention is one division. The drive's size in megabits goes on top; what all the cameras write each day goes underneath:

days = drive GB × 1,000 × 8 ÷ (Mbps × 86,400 × cameras)

Multiplying GB by 1,000 gives megabytes, and by 8 gives megabits. A camera's bitrate in megabits per second, times the 86,400 seconds of a day, is what one camera writes per day. Worked through for one camera at 1 Mbps: 1 × 86,400 = 86,400 megabits, ÷ 8 = 10,800 megabytes, or 10.8 GB a day.

Now a small building: 8 cameras at 4MP using H.265 at 15 frames per second, at an example 2.5 Mbps each, recording continuously to an 8 TB drive. Each camera writes 27 GB a day, all eight write 216 GB, and 8,000 ÷ 216 = 37.0 days. Switch the same cameras to H.264 at an example 5 Mbps and the drive holds 18.5 days. To keep 30 days at 2.5 Mbps the drive needs 216 × 30 = 6,480 GB, about 6.5 TB.

Fig 2Days of retention calculator
Drive size
Cameras 8 cameras
Bitrate
Resolution
Frame rate
Codec
Per camera 2.5 Mbps
Recording
Your goal
37.0days of video on the drive

About 5 weeks. Oldest video today: Sep 29, 2026.

30 day goal

Meets the 30 day goal

Bitrate per camera2.5 Mbps
Example for 4MP, 15 fps, H.265
One camera, per day27.0 GB
All 8 cameras, per day216 GB
Drive needed for 30 days at these settings6.48 TB
How the 8 TB drive may show in a recorder menu that counts in binary units7.28 TB

8,000 GB × 1,000 × 8 ÷ (2.5 Mbps × 86,400 s × 8 cameras) = 64,000,000 ÷ 1,728,000 = 37.0 days

Example bitrates at 15 fps for a moderately busy scene: 1080p 3 Mbps, 4MP 5 Mbps, 4K 8 Mbps with H.264, and half that with H.265. The 30 fps examples double them, the cautious assumption. Real bitrates depend on the camera, its settings and the scene, so use your recorder's figure when you have it. The answer uses the drive's full capacity; formatting and mirrored drives leave less.

Use your recorder's number, not ours

The example bitrates are placeholders. Most recorders show each camera's bitrate in its stream or recording settings, and some show the live rate as video comes in. Put that figure into the calculator with "My recorder's figure". If the camera is set to a variable bitrate, the setting is often a ceiling, and the real average sits below it on a quiet day and close to it on a busy one.

Why a 4 TB drive shows as 3.64 TB

Drive makers count a terabyte as one trillion bytes. Many recorder menus count in binary units, where one unit is 240 bytes, so a 4 TB drive appears as about 3.64. It is the same space, and the calculator uses the true capacity. Formatting and any space a recorder holds back trim a little more, so read the answer as an upper figure.

Mirrored drives hold half

A recorder with two drives set to mirror each other, often called RAID 1, writes everything twice so one drive can fail without losing video. Two 8 TB drives mirrored hold 8 TB of video, not 16. Other layouts keep a different share. What goes into the formula is the usable capacity, so ask which layout your recorder uses.

03CCTV camera storage: what makes video take more space

Four settings and one thing you do not control decide the bitrate, and the bitrate decides everything else.

Resolution

More pixels need more bits, but not in proportion: a 4K picture has four times the pixels of 1080p, and the examples above give it a bit under three times the bitrate. Pick resolution per camera from what it has to show at its distance, which our guide to how far a security camera can see and identify a face works out in pixels per foot, not by habit.

Frame rate

Thirty frames per second against fifteen adds a frame for every one recorded. Neighboring frames are mostly alike and compress well, so the bitrate often rises by less than double; the calculator doubles it anyway so the answer is not optimistic.

Codec: H.264 or H.265

H.265 is the newer standard. In the published comparison by the codec's developers, it matched the picture quality of H.264 at about half the bitrate on average. In a camera the saving varies with the scene and the settings, and the recorder and viewing software have to support it. Halving the bitrate doubles the days, which is why the codec is the first setting to check on a short-retention system. Our glossary page on H.264 vs H.265 covers compatibility.

Continuous or motion recording

A camera that records only when something moves writes far less in a quiet place. If a back hallway camera writes for a quarter of the day, the drive holds four times as many days as with continuous recording. Recorders keep a few seconds from before and after each trigger, which counts toward that quarter. The costs: anything outside the motion zones is not recorded, and rain, headlights, swaying trees and night grain can trigger it all night and eat the saving.

The scene itself

Most cameras use a variable bitrate: the encoder spends more bits when more of the picture changes. One manufacturer's white paper puts it plainly: a complex scene produces a high bitrate, motion can raise it sharply, and storage for variable bitrate is hard to predict without a margin. Figure 3 shows the same camera with the same settings in two places.

Fig 3Same camera, different storage

Swipe the chart sideways to see the whole day.

NIGHT NIGHT 0 1 2 3 4 5 6 MBPS 12 AM 3 6 AM 9 12 PM 3 6 PM 9 12 AM
REC
What the camera sees

A storefront camera sees people and traffic from early morning to late evening, and the encoder spends bits on every one of them. At night the light is dim, the camera turns up its gain, and grain fills the picture.

32.5GB written in 24 hours
Average3.0 Mbps
Busiest hour4.0 Mbps
Night hours2.3 Mbps
Day hours3.6 Mbps
This camera alone fills 1 TB in30.8 days
Both scenes, same weather and lighting
Street32.5 GB
Hallway8.6 GB

Sum of 24 hourly averages × 3,600 s ÷ 8 ÷ 1,000 = 72.2 × 0.45 = 32.5 GB

Illustrative hourly bitrates, not measurements, for one 4MP H.265 camera at 15 fps on variable bitrate. The shaded area is what reaches the drive; the dashed line is the day's average. The pattern follows the sources: motion and scene detail raise the bitrate, and low light adds sensor noise that can roughly double it.

In this illustration the street camera writes 32.5 GB in a dry day and the hallway camera 8.6 GB, nearly four times less, with identical settings. A day of rain moves the whole frame and lifts the street to 44.4 GB, about 37 percent more. The hallway does not care about the weather, but it does care about the dark: dim at night, its night hours write more than its quiet daytime hours, because the camera turns up its gain and the grain looks like motion to the encoder. A trade article on day and night storage reported that low light can double the bandwidth and storage of an H.264 camera for exactly this reason. Lighting the hallway brings it down to 6.5 GB.

Two practical results follow. Size storage from a busy day, not an average one, or a rainy week shortens retention just when incidents rise. And fixing the light at night saves storage and gives a cleaner picture at the same time.

04How long should security cameras keep footage?

There is no one number that fits every property. Start from how late incidents surface where you are: if a missing delivery is reported by the next morning, a week of video covers it; if damage is found at a monthly inspection or claims arrive by letter, you need more than a month, or a habit of exporting.

Then ask the people who may set a number for you. A retention period usually comes from a specific regulator for some licensed businesses, a lease or management agreement, an insurer, or a contract with a client. Ask each of them in writing. Once a claim or lawsuit is likely, the footage related to it generally has to be kept, whatever the loop would do; talk to your lawyer about what to preserve. This is general information, not legal advice. Our guide to NYC building security rules for cameras and intercoms covers the legal side for buildings in the city.

Write the policy down in three lines: how many days, who may export video, and where exports are kept. Set the recorder's maximum retention to match if you want a firm ceiling. Then size the drive so a busy week still reaches the number. Our security camera installation work starts from that retention number and the bitrate each camera really writes, and sizes the drives from both.

05Where security footage is stored: SD card, recorder or cloud

Footage can live in three places, and each fails in its own way. A memory card in the camera holds a short loop of that one camera; the same math applies, so a 128 GB card at 2 Mbps holds about 5.9 days: 128 × 8,000 ÷ (2 × 86,400). The recorder holds the main copy of every camera. A cloud service holds whatever you choose to send it, limited by your upload speed. Figure 4 puts each through the events that actually take footage away.

Fig 4What survives

Swipe the drawing sideways to see the whole building.

STREET FLOOR 2LOBBY LOCKED CLOSET RECORDER POE SWITCH MODEM UPS TAKEN CAMERA, SD CLOUD COPY OFF SITE INTERNET
Backup power

Every camera records to the recorder in the closet. A camera with a card can hold its own short copy, and a cloud service holds whatever you send it.

SD card in the cameraKeptHolds a short loop, if the camera has a card and recording to it is turned on.
Recorder in the closetKeptThe main copy. Days kept depend on drive size, cameras and bitrate.
Cloud copy, off siteKeptHolds the cameras and days you choose to send off site.
What typically happens to each copy. Card recording, upload behavior and shutdown on battery depend on the cameras and recorder, so confirm them for your system. The UPS setting changes the power cut row.

The pattern is simple: any copy kept in one place is lost with that place. The recorder is the copy most people rely on and the one a burglar can carry out, so keep it in a locked closet rather than under the front desk, and keep a second copy of the cameras that matter most somewhere else. Cameras that record to their own cards are one option; a second recorder in another room or a cloud copy of the entrance cameras are others. Our comparison of cloud storage and a local NVR or DVR weighs upload speed, ongoing service and what happens when the internet drops.

Power is the other common gap. A UPS on the recorder alone keeps a drive spinning with no cameras feeding it; the PoE switch that powers the cameras has to be on it too, and the modem and router if anything goes off site. Our article on what happens to security footage when the power goes out covers sizing the battery.

06How to save security footage before it is overwritten

The loop does not care how important a clip is. The moment you hear about an incident, do this, in this order:

  1. Note the camera, date and a wide time window. Start a few minutes before and end a few minutes after what you think happened. Clocks drift and people misremember times.
  2. Lock the clip if the recorder can. Many recorders can protect a recording so the loop skips it. Use that first; it buys time while you export.
  3. Export it. Save to a USB drive or download it from the recorder's software. If the recorder offers its own file format, include the player it provides, and export a common format too if it can.
  4. Play the export on another computer before you leave the recorder. A file that will not open is not a copy.
  5. Write down who exported it, when, and from which recorder and camera. Keep the original export unedited, and make any trimmed copies from it.
  6. Keep two copies in two places. A USB drive in the same office as the recorder fails the same way the recorder does.

If the doors run on access control, the door log narrows the search. The time a card was used at the lobby reader tells you where to look on the lobby camera, which is one reason to plan access control and cameras together.

If the loop has already passed the incident, the video is usually gone: the recorder wrote new video over it. Recovery work is for drives that failed or were damaged before the loop reached the footage. If that is your situation, stop using the recorder and read about video footage recovery before anyone reformats anything.

07Check how long your system really keeps footage

This takes two minutes a month and catches most problems before you need the video. Open playback on the recorder and jump to the oldest recording on each camera. Count the days back to today. That is your real retention, whatever the setup sheet says.

  • The oldest day matches your policy, on every camera, not just the first one.
  • No camera shows live video while recording nothing. A camera can look fine on the monitor and have a gap on the drive; our page on a DVR or NVR that is not recording lists the usual causes.
  • The recorder reports every drive as healthy. A failed drive in a recorder without mirroring takes its share of days with it.
  • After any change, added cameras, a firmware update or a replaced drive, check again.

Questions to ask an installer about retention

  1. What bitrate did you assume for each camera, and is it the average or the ceiling?
  2. How many days does that give on this drive on a busy day, and at night with the picture at its darkest?
  3. Is overwrite on, and is a maximum retention set to match our policy?
  4. Are the drives mirrored, and what is the usable capacity?
  5. What is on the UPS: the recorder, the PoE switch, the modem?
  6. Which cameras have a second copy, and where does it live?
  7. Who can export video, and how do we lock a clip so the loop skips it?

FAQQuestions about how long cameras keep footage

How long do CCTV cameras keep footage?

A CCTV recorder keeps footage until its drive is full, then overwrites the oldest video, so the answer is a number of days. That number comes from drive size, number of cameras and bitrate: 8 cameras at 2.5 Mbps on an 8 TB drive keep about 37 days. Typical systems are sized for a few weeks. To find yours, play back the oldest recording on the recorder and count the days to today.

How much storage does a security camera use per day?

One camera recording continuously at 1 Mbps writes 10.8 GB a day: 1 × 86,400 seconds ÷ 8 bits per byte ÷ 1,000. At an example 4 Mbps that is 43.2 GB a day. The real bitrate depends on resolution, frame rate, codec and how busy the scene is, and most recorders show it in each camera's settings.

How long does security camera footage last on an SD card?

The same math applies to a card in the camera. A 128 GB card at 2 Mbps holds about 5.9 days of continuous video: 128 × 8,000 ÷ (2 × 86,400). Motion recording stretches that, and the card loops the same way a recorder does. The card goes with the camera if the camera is stolen or smashed.

Can overwritten security footage be recovered?

Usually not. When the recorder writes new video over old video, the old recording is replaced, not hidden. Recovery work can help when a drive failed or was damaged before the loop reached the footage, so stop using the recorder and ask quickly. The dependable answer is to export what you need as soon as you hear about an incident.

Does motion recording make footage last longer?

Yes, often by a lot in quiet areas. A camera that writes video for a quarter of the day keeps about four times as many days as one recording around the clock. The tradeoffs are missed moments outside the detection zones or before the trigger, and false triggers from rain, headlights and night grain that eat the savings.

Is there a law that says how long to keep security camera footage?

There is no single number that fits every property. A retention period usually comes from a specific regulator, a lease, an insurer or a contract, and a likely claim or lawsuit can create a duty to keep the related footage. This is general information, not legal advice, so ask your lawyer and the parties that may set a number for you.

Sources

  • Ohm, Sullivan, Schwarz, Tan and Wiegand, 2012"Comparison of the Coding Efficiency of Video Coding Standards, Including High Efficiency Video Coding (HEVC)", IEEE Transactions on Circuits and Systems for Video Technology, vol. 22, no. 12. Source of the finding that H.265 matches H.264's subjective quality at about 50 percent less bitrate on average.
  • "Bitrate control for IP video"A camera manufacturer's white paper. Source for variable bitrate rising with scene complexity and motion, and for variable bitrate storage needing a margin because it is hard to predict.
  • Security Magazine, "Finding Storage Solutions for Day-to-Night Surveillance", 2012Trade article. Source for low light raising camera gain and noise, which can double H.264 bandwidth and storage and set off motion recording.
  • ONVIF Profile GIndustry specification for cameras that record to their own storage and let a recorder retrieve that video, the basis for card recording in Figure 4.
  • IEC 80000-13Defines the binary prefixes (a tebibyte is 240 bytes) that explain why some menus show fewer terabytes than the drive's label.
  • The arithmetic on this pageEvery retention, storage and card figure comes from the formula in section 02: days = drive GB × 1,000 × 8 ÷ (Mbps × 86,400 × cameras). Example bitrates are labeled as examples wherever they appear.