Set record.enabled: true and use continuous.days for all recorded footage, motion.days for the motion tier, and alerts.retain.days for qualifying footage that overlaps an alert’s capture window. Set detections.retain.days separately for review items classified as detections. Frigate v0.18.3 recording guide
Enable recording and find the YAML
The examples target Frigate v0.18.3. Frigate 0.17.0 introduced the separate continuous and motion keys under record. Frigate v0.18.3 recording guide · Frigate 0.17.0 release notes
- In the camera’s
ffmpegblock, check that the input you want to record hasrecordin itsroleslist. For a shared stream, add that role to the existing input. Frigate getting started guide - Open the existing Frigate configuration. For a container install, the file maps to
/config/config.ymlinside the container. For the Home Assistant App, look under/addon_configs/<addon_directory>/. Frigate also acceptsconfig.yamland givesconfig.ymlpriority if both files exist. Frigate configuration guide - Apply one example to the top-level
record:block, alongsidecameras:, to set global defaults. If the block already exists, edit its retention values in place. Check anyrecord:settings undercameras.<name>because camera values override the corresponding global values. Frigate configuration guide
For alerts based on tracked objects, check that object detection is enabled and that your Review settings classify the activity as an alert. Frigate recordings troubleshooting · Frigate Review configuration
Choose a retention profile
Before shortening retention, export clips you want to keep. The next cleanup can expire existing footage under the shorter settings. Low disk space can also trigger early deletion of the oldest recordings. Frigate v0.18.3 cleanup code · Frigate recording guide
Set unused review tiers to days: 0 explicitly. The v0.18.3 schema defaults both alert and detection retention to 10 days. Frigate v0.18.3 recording schema
Continuous with longer motion and review retention
Keep continuous footage for 3 days and set the motion tier to 7 days total. Set alert and detection review retention to 30 days with mode: motion. Cleanup uses each completed review’s end time to determine its age and checks recording segments separately for overlap with the capture window. Frigate v0.18.3 recording guide · Frigate v0.18.3 cleanup code
record:
enabled: true
continuous:
days: 3
motion:
days: 7
alerts:
retain:
days: 30
mode: motion
detections:
retain:
days: 30
mode: motion
Motion tier retention
Keep the motion tier for 3 days. Set continuous, alert and detection retention to zero so the motion tier has the only positive retention window. Frigate v0.18.3 recording guide · Frigate v0.18.3 recording schema · Frigate v0.18.3 cleanup code
record:
enabled: true
continuous:
days: 0
motion:
days: 3
alerts:
retain:
days: 0
detections:
retain:
days: 0
Alert retention profile
Set alert review retention to 30 days with mode: motion. Set continuous and motion retention to zero. Set detections.retain.days to zero so completed detections have no positive retention window. Frigate v0.18.3 recording guide · Frigate v0.18.3 recording schema · Frigate v0.18.3 cleanup code
record:
enabled: true
continuous:
days: 0
motion:
days: 0
alerts:
retain:
days: 30
mode: motion
detections:
retain:
days: 0
Frigate classifies Review items as alerts or detections. For tracked objects, the configured labels and any required zones help determine the category. The record.alerts and record.detections settings apply to footage for their respective categories. Frigate Review configuration · Frigate v0.18.3 recording guide
If a saved change requires a restart, use Restart Frigate in the Settings menu. Frigate configuration guide · Frigate recordings troubleshooting
See what survives as footage ages
Here is what the 3-day continuous, 7-day motion and 30-day review profile keeps after normal cleanup. Assume valid recorded segments, enough free space, and no audio activity. In this example, the alert and its sample segment ended at about the same time. The longest applicable retention window governs each example. Frigate v0.18.3 recording guide · Frigate v0.18.3 cleanup code
| Footage age | Quiet, outside review | Motion, outside review | Motion within an alert capture window |
|---|---|---|---|
| 1 day | Kept | Kept | Kept |
| 5 days | Expired | Kept | Kept |
| 10 days | Expired | Expired | Kept |
| 31 days | Expired | Expired | Expired |
Here, outside review means outside the capture windows for both alerts and detections. In this profile, detections use the same 30-day review retention setting as alerts. Frigate v0.18.3 recording guide · Frigate v0.18.3 cleanup code
Under alerts: or detections:, set pre_capture and post_capture to the seconds you want before and after the review item. With mode: motion, quiet parts of that window can be skipped. Use mode: all under the relevant retain: block to keep quiet segments within that window too. Frigate v0.18.3 recording guide
Check playback in History
- In Live, open the camera’s single-camera view and select History. You can also open a Review item to jump to its full-resolution recording. Frigate History guide
- Filter by date and drag the timeline handle to check playback. A gap marks a period with no stored recording. Frigate History guide
- If expected footage is missing, check whether recording was enabled for that camera at the time, whether its stream has the
recordrole, and whether the applicable retention window has expired. For stream and storage checks, follow the missing-recordings checklist. Frigate History guide · Frigate missing-recordings checklist
Export and download a clip before it expires
- On desktop in History, open Actions (the film icon) and choose Export. Frigate History guide
- Enter a custom start and end time or select the range on the timeline. You can name the export before submitting it. Frigate History guide · Frigate Exports guide
- Wait for processing to finish. Open Exports from the main navigation, find the clip by name and play it. Use Download to save a copy outside Frigate. Frigate Exports guide
Frigate stores exports separately from recordings, so recording retention leaves the exported file in place. Frigate Exports guide
Evidence and limits. Frigate’s tagged v0.18.3 recording materials and the official 0.18 guides for History and Exports were checked on November 27, 2026. The configuration and UI steps were not run.