iPhone "Screen recording failed to save due to -5823": causes and fixes
By the FixMP4 engineering team · · 8 min read
You tap the red status pill to stop a screen recording, and instead of "Screen Recording video saved to Photos" iOS shows a message that the recording failed to save, with the code -5823. The wording varies slightly between iOS versions, but the meaning is the same: the phone captured something, then could not write it to your Photos library. This article explains the common reasons, the order in which to check them, and the separate problem of a recording that did save but refuses to play.
What -5823 tells you (and what it doesn't)
The code is not specific. It is a "could not save" result from the system recording service, so several unrelated causes produce the same alert. That is why random fixes found online sometimes work and sometimes don't: each one addresses a different cause. Work through the checks below in order, testing with a short ten-second recording each time.
1. Protected content in the app you recorded
This is the most common cause. Many streaming apps, some sports and TV apps, and a number of banking or payment apps flag their screens as protected. Depending on the app and iOS version, the capture is either saved with a black area where the video was, or the save fails outright with -5823.
Test it: start a recording on your Home Screen, open Settings, scroll a little and stop. If that saves, the problem was the app, not your phone. There is no setting that lets you capture protected content, and trying to bypass it usually breaks the terms of the service.
2. Not enough free storage
A screen recording is written to temporary storage first and then copied into Photos. If the phone is nearly full, the copy can fail at the end, after you have already recorded several minutes.
- Open Settings > General > iPhone Storage and look at the bar at the top.
- Free a few gigabytes: offload unused apps, clear large message attachments, or empty Recently Deleted in Photos.
- If iCloud Photos is on with Optimise iPhone Storage, the phone may still need room for the full-size file while it is being saved.
Long, high-frame-rate recordings of games are the most likely to hit this limit.
3. Screen Time restrictions
If Screen Time content restrictions are active, screen recording itself can be disallowed. Go to Settings > Screen Time > Content & Privacy Restrictions > Content Restrictions (the exact path differs slightly by iOS version) and check that Screen Recording is allowed. Devices managed by a school or employer can block it through a management profile instead; in that case only the administrator can change it.
4. A stuck recording service
When none of the above applies, the recording service may simply be in a bad state, especially after a long uptime or a recent update.
- Restart the iPhone (switch it off and on, not just lock the screen).
- Remove and re-add Screen Recording in Settings > Control Centre, then try again.
- Turn off Low Power Mode for the test; it changes how background tasks behave and some users find saves more reliable without it.
- Install pending iOS updates, because save failures have been fixed in point releases before.
- As a last resort, Settings > General > Transfer or Reset > Reset > Reset All Settings resets preferences without deleting photos or apps. You will need to re-enter Wi-Fi passwords afterwards.
5. Microphone audio and very short recordings
If you long-press the screen recording button and switch the microphone on, a third-party app using the microphone at the same time can interfere. Try a recording with the microphone off. Also note that stopping a recording within a second or two of starting it sometimes produces a save failure simply because nothing useful was captured.
Can a failed recording be recovered?
Unfortunately, in most cases there is no file to recover. When iOS reports that the save failed, the temporary capture is discarded rather than left in your library. Recovery apps that scan an iPhone backup will not find it either. The practical fix is to remove the cause and record again.
That is different from the next case.
The recording saved, but it won't play
Sometimes the save notification appears, the clip is in Photos, but it shows a 0:00 duration, a blank thumbnail, or stops after a few seconds. This happens when the recording was interrupted in an unclean way: the battery died mid-capture, the phone overheated and shut down, or iOS was killed during the final write. The video data is there, but the index that tells a player where each frame sits was never completed.
Steps for this case:
- Export the original. In Photos, share the clip with Save to Files, or AirDrop it to a Mac, so you have the actual file rather than a preview.
- Check it on a computer. Open the copy in VLC. If it fails or shows no length, the index is missing. See the guide to checking whether a video is corrupted if you want a precise answer.
- Make a reference. Record a fresh 20-second screen recording on the same phone, with the same microphone setting, and export it the same way.
- Rebuild it. Open the FixMP4 repair tool, add the broken clip and the reference. The repair runs in your browser, so a recording of private messages or banking screens never leaves your computer.
- Check the preview before saving the full file.
Screen recordings on recent iPhones are usually H.264 or HEVC with AAC audio, which FixMP4 supports. For more on iPhone video specifically, see fixing a corrupted iPhone video, and for the Photos app message about loading a higher-quality version, see this article.
Avoiding the problem next time
- Keep at least a few gigabytes free before long recordings.
- Charge the phone or keep it plugged in for recordings longer than a few minutes.
- Do a short test recording in the app you plan to capture, to find out early whether it is protected.
- Copy important recordings off the phone soon after saving them.
Screen recordings on other platforms fail for different reasons; see Mac screen recordings and Android screen recordings.
Summary
Error -5823 means iOS could not save the capture to Photos. Check protected content first, then storage, then Screen Time, then restart and update. A failed save usually leaves nothing to recover, but a recording that saved and will not play can often be rebuilt with FixMP4, privately in your browser.
Frequently asked questions
What does error -5823 mean on an iPhone screen recording?
It is a generic save failure reported when iOS cannot write the finished screen recording to the Photos library. The usual triggers are protected content that does not allow capture, not enough free storage, a restriction on screen recording, or a temporary glitch in the recording service.
Can a screen recording that failed with -5823 be recovered?
Usually not. When the save fails, iOS discards the recording instead of leaving a partial file in Photos, so there is nothing for a recovery or repair tool to work on. Fix the cause and record again.
Why does screen recording fail only in certain apps?
Streaming and some banking or video apps mark their content as protected. iOS then either blacks out the picture or refuses to save the capture, depending on the app and the iOS version. Recording the same screen in another app usually works, which confirms the cause.
My iPhone screen recording saved but will not play. What can I do?
If Photos shows the clip but it will not play, has no duration or stops early, the file was probably cut off when the phone ran out of power or the recording was interrupted. FixMP4 can rebuild the index of such an MP4 in your browser, using a short healthy screen recording from the same phone as a reference.
Have a broken recording right now?
Diagnose it and hear or watch a free repaired preview. Nothing is uploaded.
Open the repair tool