Meta Description:
Learn how much SD card storage a 4K spy camera needs, with 64GB–512GB recording times, bitrate calculations, H.265, V30/U3, and capacity tips.
For many 4K spy cameras, 128GB is a practical starting point, while 256GB or 512GB makes more sense when longer local recording is required. Actual recording time can vary widely, though. Bitrate, frame rate, video compression, and recording mode all affect how quickly a microSD card fills.
A 128GB card may store roughly 11 to 36 hours of continuous 4K video under common bitrate examples. Motion-triggered recording can extend the retention period much further.
Here is how to calculate it properly and choose the right card.

How Much SD Card Storage Does a 4K Spy Camera Need?
For most 4K mini cameras and hidden cameras using local microSD recording, these capacities cover the most common requirements:
|
microSD Capacity |
Typical Use |
|
64GB |
Short recording sessions, occasional event recording |
|
128GB |
Practical starting point for normal 4K local recording |
|
256GB |
Longer continuous recording and multi-day motion recording |
|
512GB |
Extended local retention where supported |
|
1TB+ |
Long-term storage only when the camera explicitly supports it |
A 128GB to 256GB microSD card is usually the most useful range for a 4K spy camera. It provides enough capacity for meaningful recording time without moving immediately into very large cards that some compact camera platforms cannot support. For a broader comparison across different hidden-camera resolutions and recording modes, see our guide to how much storage a hidden camera needs.
There is one specification to check before choosing capacity: maximum supported microSD size.
A 512GB or 1TB card does not help if the camera firmware and storage controller only support 128GB or 256GB. The SD Association's SDHC, SDXC and SDUC capacity standards explain the card-capacity classes themselves, but the camera's own hardware and firmware still determine which capacities it can actually use.
Why 4K Resolution Does Not Give You a Fixed Recording Time
4K UHD generally refers to a resolution of 3840 × 2160 pixels in consumer cameras. Resolution tells you how many pixels are captured in each frame. Bitrate is the amount of video data written every second, normally expressed in Mbps, and it has a much more direct effect on storage consumption.
Two cameras can both record at 4K and still produce very different file sizes.
A lower-frame-rate surveillance camera using efficient compression may run at a relatively modest bitrate. A higher-quality 4K camera recording at 60 fps can generate several times more data.
Reference ranges for 4K recording illustrate the difference:
|
4K Recording Mode |
Typical Bitrate |
Approx. Storage per Hour |
|
4K UHD, 15 fps |
15–20 Mbps |
6.6–9 GB |
|
4K UHD, 25/30 fps |
25–35 Mbps |
11–15.5 GB |
|
4K UHD, 60 fps |
60–100 Mbps |
26.4–44 GB |
|
4K + HDR, 30 fps |
40–60 Mbps |
17.6–26.4 GB |
This also explains why some 4K video examples reach roughly 45GB per hour, while compressed surveillance footage may use much less.
There is no useful universal answer such as "4K always uses X GB per hour." The camera's actual bitrate is the better number to work with. A product such as a 4K UHD WiFi hidden camera should therefore be evaluated by its recording settings and storage support, not by the 4K label alone.

How to Calculate 4K Spy Camera Storage and Recording Time
Once the bitrate is known, storage requirements are straightforward to estimate.
Storage Calculation Formula
Use:
Storage (GB) = Bitrate (Mbps) × 3,600 × Recording Hours ÷ 8,000
For example, one hour of recording produces approximately:
|
Bitrate |
Approx. Storage per Hour |
|
8 Mbps |
3.6 GB |
|
12 Mbps |
5.4 GB |
|
16 Mbps |
7.2 GB |
|
25 Mbps |
11.25 GB |
The reverse calculation works for recording time:
Recording Time = Available Storage ÷ Storage Used per Hour
These are theoretical figures. Formatting, file-system overhead, indexing files, and storage reserved by the camera reduce usable capacity slightly.
Example: How Much Storage Does 24 Hours of 4K Need?
Take a 4K camera recording continuously at 25 Mbps:
25 Mbps × 3,600 × 24 ÷ 8,000 = 270GB
So a full 24-hour recording period at that bitrate needs roughly 270GB before overhead.
That also means a 256GB card should not automatically be treated as a full-day card for every 4K camera.
At lower bitrates, the picture changes quickly:
|
Bitrate |
Storage per Hour |
Storage per 24 Hours |
|
8 Mbps |
3.6 GB |
86.4 GB |
|
12 Mbps |
5.4 GB |
129.6 GB |
|
16 Mbps |
7.2 GB |
172.8 GB |
|
25 Mbps |
11.25 GB |
270 GB |
This is why bitrate belongs near the top of any serious storage calculation.
How Long Can 64GB, 128GB, 256GB and 512GB Record in 4K?
The following table gives a more useful answer than assigning one fixed recording time to each SD card.
|
SD Card Capacity |
8 Mbps |
12 Mbps |
16 Mbps |
25 Mbps |
|
64GB |
~17.8 h |
~11.9 h |
~8.9 h |
~5.7 h |
|
128GB |
~35.6 h |
~23.7 h |
~17.8 h |
~11.4 h |
|
256GB |
~71.1 h |
~47.4 h |
~35.6 h |
~22.8 h |
|
512GB |
~142.2 h |
~94.8 h |
~71.1 h |
~45.5 h |
These estimates are for continuous recording.
They also explain why published figures for a 128GB 4K recording time can differ so much. A compressed stream around 8–12 Mbps can keep recording for close to a day or longer. At around 25 Mbps, the same card is closer to half a day.
For procurement or product planning, that range matters more than a single marketing number.
If a target product must retain 24 hours of footage, define the intended bitrate first and calculate backward from the retention requirement. For a closer look at one of the most common capacities used in security products, our separate guide explains how long a 256GB SD card can record.
What Factors Change 4K Recording Time?
Bitrate is the fastest way to estimate capacity, but several camera settings influence that bitrate.
H.264 vs. H.265 Compression
H.264 and H.265/HEVC are video compression standards used to reduce video file size.
H.265 can often reduce storage requirements by around 40% to 50% compared with H.264 at similar visual quality. In practical terms, a camera that generates a 12 Mbps H.264 stream may be able to achieve comparable output at a lower H.265 bitrate, depending on the encoder and image settings.
The exact saving varies, so it should be treated as a range rather than a fixed doubling of recording time. For a deeper technical comparison, see H.264 vs H.265 for security cameras.
H.265 is especially valuable in compact security products where local card capacity is limited.
Frame Rate and Video Quality
Frame rate describes how many individual frames are recorded per second.
A 4K camera at 15 fps can require much less data than a 4K camera at 30 or 60 fps. Higher frame rates improve motion smoothness but normally increase storage use.
Other factors also change file size:
VBR vs. CBR: Variable Bitrate changes data rate according to scene complexity; Constant Bitrate keeps it more stable.
Night scenes: Image noise in low light can make video harder to compress.
HDR: Higher dynamic-range recording may use a higher bitrate.
Audio: Audio adds some storage, although it is usually small relative to 4K video.
Firmware encoding settings: Compression quality, GOP structure, and other encoder settings affect final file size.
Night recording deserves particular attention when evaluating a 4K hidden camera with night vision, because low-light noise and changing illumination can influence real-world bitrate under VBR encoding.
A static indoor scene can therefore produce a different daily storage load from a busy entrance or warehouse, even with the same nominal resolution.

Continuous Recording vs. Motion Detection: Which Uses More Storage?
Recording mode has a major effect on how many calendar days a card can retain.
Continuous Recording
Continuous recording writes video to the card around the clock.
If a 256GB card holds around 47 hours of footage at 12 Mbps, its retention period will also be about 47 hours before loop recording starts overwriting older files.
This mode is easy to calculate because the recording duty cycle is essentially 100%.
Motion-Activated Recording
Motion detection records only when the camera detects activity.
That can extend retention considerably in rooms, offices, storage spaces, or other locations where there are long periods without movement. Reference examples often show 3–5× longer effective storage, but the real multiplier depends on how often the camera is triggered.
A simple example makes this clearer.
A 256GB card at 12 Mbps stores about 47.4 hours of actual video.
If motion detection means the camera records only 20% of each day:
24 × 20% = 4.8 recording hours per day
47.4 ÷ 4.8 = approximately 9.9 days of retention
So the camera still stores about 47 hours of video; those 47 hours are simply spread across roughly ten calendar days.
This distinction between recording time and retention time is important when comparing storage claims.
Scheduled Recording
Scheduled recording uses the same principle. A camera configured to record only during business hours can retain footage for considerably more calendar days than a device recording 24/7.
What Type of microSD Card Is Best for a 4K Spy Camera?
Capacity is only one part of the specification. Reliable 4K recording also depends on sustained write performance and card endurance.
Speed Class: V30 and U3
U3 and V30 cards guarantee a minimum sustained write speed of 30MB/s. The SD Association's Speed Class, UHS Speed Class and Video Speed Class specifications provide the formal definitions behind these ratings.
That makes V30/U3 a practical baseline for many 4K camera applications. Some low-bitrate 4K cameras may technically operate on slower cards, but a higher sustained write margin reduces the risk of dropped frames or unstable recording.
For higher-bitrate 4K/60fps or HDR applications, V60 may be appropriate when required by the camera specification.
Do not choose V60 or V90 automatically. The required speed class should follow the actual write bitrate and the camera manufacturer's storage specification.
High-Endurance Cards
A security camera can write and overwrite the same card continuously for months. That workload is different from storing occasional photos or files.
A High Endurance or surveillance-grade microSD card is generally the better choice for:
24/7 continuous recording
frequent loop recording
high daily write volume
unattended operation
For long-term deployments, endurance ratings, temperature tolerance, wear leveling, and error-management features deserve as much attention as peak read speed.
Maximum Supported Capacity
This point is easy to overlook during sourcing.
A camera designed for a maximum 256GB microSD card may not recognize 512GB or 1TB correctly. File-system support and firmware behavior can also affect compatibility.
For OEM/ODM products, storage capacity should therefore be considered together with firmware, recording logic, bitrate, chipset support, and product validation. A 4K DIY hidden camera module, for example, is the type of platform where storage architecture, PCB constraints and firmware behavior should be defined together during product development.

Which SD Card Capacity Should You Choose for Your Recording Scenario?
A practical capacity decision starts with the retention target.
Short-Term Recording: A Few Hours
For short sessions, occasional recording, or temporary monitoring, 64GB to 128GB is often sufficient.
At 25 Mbps, for example:
64GB gives around 5.7 hours
128GB gives around 11.4 hours
At lower bitrates, both last considerably longer.
One Day or Longer of Continuous Recording
For full-day recording, 256GB to 512GB is a more useful range.
A 256GB card provides:
~71 hours at 8 Mbps
~47 hours at 12 Mbps
~36 hours at 16 Mbps
~23 hours at 25 Mbps
This is a good example of why "256GB equals one day" is too broad for product specification work.
Multi-Day Motion-Triggered Recording
For event-based recording, 256GB or 512GB can support several days of retention because only triggered footage consumes storage.
The actual number of days depends heavily on traffic level and motion sensitivity.
A quiet room may retain much more history than a busy retail entrance using the same card.
One Week or More of Continuous 4K
For long periods of continuous 4K recording, calculate total storage before committing to microSD.
At 12 Mbps, seven days of 24/7 recording requires roughly 907GB before overhead.
At 25 Mbps, the same seven-day period is close to 1.9TB.
At that point, a larger local storage architecture, NVR, or another recording solution may be more practical than relying entirely on a microSD card.
Choosing the Right Storage Capacity
For most 4K spy cameras, 128GB works well as a starting point, 256GB provides more comfortable local retention, and 512GB is useful for longer recording where the hardware supports it.
The most reliable way to size storage is to start with the camera's bitrate, calculate hourly and daily data use, then account for compression, recording mode, and the amount of history that needs to remain available before loop recording overwrites older footage.
Allcam develops and manufactures Mini Camera and Hidden Camera products with configurable storage, firmware, recording logic, PCB, sensor, and other OEM/ODM options. If you are planning a 4K camera project and need to define the right storage capacity or recording architecture, work with an experienced hidden camera manufacturer to match the storage design to your target recording time, product format, and technical requirements.
FAQ
Is 128GB Enough for a 4K Spy Camera?
For many products, yes. A 128GB card is a sensible starting capacity.
Using the examples above, it can store roughly 11 to 36 hours of continuous video at 8–25 Mbps. Motion-triggered recording can stretch the calendar retention period much further.
How Long Can a 256GB SD Card Record in 4K?
At approximately 8–25 Mbps, a 256GB card provides roughly 23 to 71 hours of continuous recording.
The camera's codec, frame rate, image settings, and actual bitrate determine where it falls within that range.
Does H.265 Make an SD Card Last Longer?
Usually, yes. H.265 can reduce storage consumption significantly compared with H.264 at comparable visual quality, with savings around 40%–50% being a useful reference range.
Actual results depend on the encoder and scene.
Is V30 Necessary for 4K Recording?
V30 is a strong practical baseline because it guarantees 30MB/s sustained write speed.
Some lower-bitrate 4K devices can operate below that level, so the camera specification remains the final reference.
Can I Use a 512GB or 1TB Card in Any Spy Camera?
No. The camera must explicitly support that capacity.
Check the maximum supported microSD size and file-system compatibility before buying higher-capacity cards.
Does Motion Detection Save SD Card Space?
Yes. It reduces the amount of actual recorded video when there is little activity.
The amount saved depends on how much of each day the camera is actively recording, which is why motion-based retention is better calculated from daily recording hours than from a fixed multiplier.


