How Long Can a YouTube Live Stream Be? The 12-Hour Archive Rule

Published on | Updated

YouTube sets no end time for a live stream, but only streams under 12 hours are archived automatically and DVR may be limited past 12 hours. Keep a copy.

A streamer at a desk with two monitors showing OBS and a stream dashboard

You want to stream for 14 hours, a whole weekend or around the clock, and you need to know two things: will YouTube cut you off, and will the stream still be on your channel afterwards. YouTube's help pages answer the first question with silence and the second with a number: 12 hours. Below are the rules as YouTube states them on 4 November 2026, what they mean for long and 24/7 streams, and how to keep your own copy, with the disk space worked out.

Quick answer: YouTube documents no maximum length for a live stream. The 12-hour limit is about the archive and the rewind bar. "If your live stream is less than 12 hours, YouTube can automatically archive it for you", for encoder, webcam and mobile streams alike. But: "If your stream exceeds 12 hours, it may not be captured at all." DVR "may be limited or unavailable for streams longer than 12 hours", and viewers can never rewind to before you went live. For a VOD of a long stream, restart before the 12-hour mark or record a local copy, as YouTube recommends. At 6,000 kbps that copy takes 2.7 GB per hour.

YouTube live stream duration and archive limits

Every rule below is quoted from YouTube Help on 4 November 2026.

WhatYouTube's rule
Stream lengthNo maximum is given on the archive, DVR, encoder, webcam, mobile or getting started pages
Archive under 12 hours"If your live stream is less than 12 hours, YouTube can automatically archive it for you." Encoder, webcam and mobile alike
Archive over 12 hours"If your stream exceeds 12 hours, it may not be captured at all."
1440p and 4K"YouTube will also automatically archive streams of 1440p and 2160p (4K) video resolution."
Rewind (DVR)"DVR capabilities may be limited or unavailable for streams longer than 12 hours." Apple TV, Apple AirPlay and older app versions get lower limits
Start of the stream"Viewers can never seek back to before you went live."
Mobile, 50 to 999 subscribers"Your archived live stream will be set to private by default."
Uploading your own copy"The maximum file size you can upload is 256 GB or 12 hours, whichever is less."
ClipsNone from streams without DVR or "longer than the DVR timeframe"

The encoder and webcam pages put the first rule more firmly: "All streams under 12 hours will be automatically archived." Over 12 hours, "may" is no promise either way: a 13-hour stream might get an archive or not. Plan as if it won't.

What the 12-hour rule means for a 24/7 stream

Nothing in YouTube's documentation says a stream stops at 12 hours; viewers keep watching live. What you lose is a guaranteed VOD and the full rewind bar: viewers can only seek back "up to a limit", also when they pause and resume. Clips outside the DVR window "will not be playable until the live stream ends, and the original video is posted", so on a broadcast that may never get an archive, do not count on them.

Whether this matters depends on what you stream:

  • A loop of files you own, such as a lo-fi radio or a looped video. You already have the source, so a missing archive costs you nothing you don't have. Check YouTube's rules on repetitive content before you start.
  • A live source, such as a camera, a live show, a DJ set or a game event. The only complete copy is the one you make.

Restart before 12 hours or record it yourself

Your streamWhat to do
Under 12 hours (an event, a match, a long gaming session)Let YouTube archive it, and record locally as YouTube recommends
Longer than 12 hours, once (a marathon or subathon)Restart before 12 hours, for example every 11 hours, so each part gets an archive; record locally
24/7 loop of your own filesNothing extra: you already have the source
24/7 live sourceRecord locally in hourly files; restart before 12 hours only if you want VODs on YouTube
Viewers must be able to rewind farKeep DVR on and each broadcast under 12 hours

A restart has a cost. Going live from the Stream tab, "A watch page is now created for your stream" and "Notifications will be sent and your stream will show up in subscriber feeds", says YouTube's encoder page. So each restart gives a new video ID, links to the old one show an ended stream, and subscribers see a new go-live. Our monitoring guide shows how a script finds the current video ID.

Restarting from OBS. Click Stop Streaming, wait until the Live Control Room shows the stream as ended, then Start Streaming. The Live Streaming API reference says auto-stop ends a broadcast "around one minute after" the data stops.

Restarting from FFmpeg. Put -t 11:00:00 before the output URL: FFmpeg then stops "writing the output after its duration reaches" 11 hours and exits. Let systemd start it again, as in the unit from our monitoring guide, but with RestartSec=120 instead of 10. A 10-second gap is shorter than YouTube's one minute, so the broadcast may not end at all. A crash then also costs two minutes.

Whichever you use, check after the first planned restart that YouTube Studio's Content page, Live tab, shows two separate streams.

Record your own copy: how much disk it takes

The sum is bitrate times seconds, divided by 8 for bytes. For 6,000 kbps over 12 hours: 6,000,000 bits per second × 43,200 seconds = 259,200,000,000 bits, divided by 8 = 32,400,000,000 bytes, which is 32.4 GB.

Video bitratePer hour12 hours24 hours7 days
3,000 kbps1.35 GB16.2 GB32.4 GB226.8 GB
4,500 kbps2.03 GB24.3 GB48.6 GB340.2 GB
6,000 kbps2.7 GB32.4 GB64.8 GB453.6 GB
14,000 kbps (YouTube's recommended 1080p30, H.264)6.3 GB75.6 GB151.2 GB1,058.4 GB
17,000 kbps (YouTube's recommended 1080p60, H.264)7.65 GB91.8 GB183.6 GB1,285.2 GB

These are sums, not measurements, in decimal gigabytes (a tool counting in binary units shows 32.4 GB as about 30.2 GiB). Audio at 128 kbps adds 0.0576 GB an hour.

To upload your copy as a normal video, each file must stay under "256 GB or 12 hours, whichever is less", and anything over 15 minutes needs a verified account. At 17,000 kbps 12 hours is 91.8 GB, so the 12 hours is the limit you hit first. Hourly files avoid it.

If OBS runs on a Space-Node streaming VPS, the recording goes to that server's disk, which is 30 GB to 200 GB depending on the plan and also holds the operating system and OBS. Move finished files off the server every day, or keep only the most recent hours.

Record in hourly files with OBS

In OBS Studio 33.0.1, file splitting is only in Advanced output mode:

  1. Open Settings, then Output, and set Output Mode to Advanced.
  2. Open the Recording tab. Set Recording Format to Matroska Video (.mkv): OBS warns that MP4 and MOV recordings "will be unrecoverable if the file cannot be finalized". Fragmented MP4 (.mp4) also "remains playable even if writing to disk is interrupted".
  3. Set Video Encoder to (Use stream encoder). OBS then records the video it already encodes for the stream, at the same bitrate, so the table above applies.
  4. Tick Automatic File Splitting, choose Split by Time and set Split Time to 60 min.
  5. Under Settings, General, tick Automatically record when streaming, so a restarted stream records again too.

Afterwards, File, Remux Recordings turns the .mkv files into .mp4 for editors that need it.

Record in hourly files with FFmpeg on a VPS

On a Linux VPS, FFmpeg's segment muxer writes a new file every hour:

ffmpeg -i "YOUR-LIVE-SOURCE" -map 0 -c copy \
  -f segment -segment_time 3600 -segment_atclocktime 1 \
  -strftime 1 -reset_timestamps 1 \
  "/home/streamer/archive/%Y-%m-%d_%H-%M-%S.mkv"
  • -segment_time 3600 sets the length of each file in seconds (the default is 2).
  • -segment_atclocktime 1 splits on the clock, so after the first file each one starts at 13:00, 14:00 and so on.
  • -strftime 1 names each file after its start time, and -reset_timestamps 1 starts each file near zero to "ease the playback".
  • With -c copy a new file starts at the next keyframe after the hour, so within 2 seconds if your source uses YouTube's recommended 2-second keyframe interval.

To stream and record from one process, FFmpeg's tee muxer sends the same data to both. Its documentation says the data "will be encoded only once", and onfail=ignore keeps the stream going if the file output fails, "for example local drive fills up":

ffmpeg -i "YOUR-LIVE-SOURCE" -map 0:v -map 0:a -c copy -f tee \
  "[f=flv]rtmps://a.rtmps.youtube.com:443/live2/YOUR-STREAM-KEY|[f=segment:segment_time=3600:strftime=1:reset_timestamps=1:onfail=ignore]/home/streamer/archive/%Y-%m-%d_%H-%M-%S.mkv"

-c copy only works when the source is already in a format YouTube accepts; H.264 video with AAC audio is the safe pair. If you encode instead, add -flags +global_header, as FFmpeg's own tee example does. The RTMPS address is the primary ingest from our stream key guide.

DVR: how far back viewers can rewind

DVR lets viewers "pause, rewind, and continue" during your stream. The switch: in YouTube Studio click Create, then Go live, open the Stream or Manage tab, click Stream settings and toggle Enable DVR under Additional settings.

  • Past 12 hours, rewinding may be limited or unavailable, with lower limits on Apple TV, Apple AirPlay and older app versions.
  • With DVR off, viewers "cannot seek back while you are streaming, but viewers can still see a recording of your entire stream once it is available."
  • "Disabling DVR is not supported for webcam and mobile streaming."
  • A change during the stream only applies to viewers who start playing after it.

Turning DVR off does not help the archive. The Live Streaming API reference says DVR is on by default, and if recording is on but DVR is off, "there may be a delay of around one day before the archived video will be available for playback."

Why your live stream was not saved

What happenedWhat YouTube saysWhat to do
The stream ran over 12 hoursIt "may not be captured at all"Use your local copy; keep the next broadcasts under 12 hours
It was a mobile stream and you have 50 to 999 subscribersThe archive is "set to private by default"YouTube Studio, Content, Live tab: change Visibility. See our mobile requirements guide
DVR was offThe archive may take "around one day" (API reference)Wait a day, then check the Live tab
You restarted the streamEach start creates a new watch pageExpected: look for several archives in the Live tab

YouTube's own download is no master copy either. For videos you uploaded, Studio gives an MP4 "in either 720p or 360p, depending on the video size", up to five times a day per video, and not at all after a removal, a copyright or Community Guidelines strike, or with a preapproved audio track. A stream you sent in 1080p comes back at 720p at best.

FAQ

How long can a YouTube live stream be?

YouTube documents no maximum length. The 12-hour limit is the archive: a longer stream "may not be captured at all", and DVR may be limited past 12 hours.

Why was my YouTube live stream not saved?

If it ran longer than 12 hours, it "may not be captured at all". Otherwise check the Live tab under Content in YouTube Studio: mobile streams from channels with 50 to 999 subscribers are archived as private, and with DVR off the archive can take about a day.

Can viewers rewind a 24/7 YouTube stream?

Only up to a limit: DVR "may be limited or unavailable for streams longer than 12 hours", and never back to before you went live. Keep broadcasts under 12 hours if rewinding matters.

Can I download my YouTube live stream archive?

YouTube Studio downloads your own videos only as an MP4 in 720p or 360p, at most five times a day per video. For full quality, record locally while you stream.

How do I keep a VOD of a 24-hour stream?

Split it into broadcasts under 12 hours, for example three of 8 hours, so each gets an automatic archive, and record locally: at 6,000 kbps 24 hours is 64.8 GB. An upload can be at most 12 hours per file.

Does turning off DVR help with the archive?

No. Nothing in YouTube's help says DVR changes the 12-hour archive rule, and the Live Streaming API reference says an archive with DVR off may take around a day to become playable. Webcam and mobile streams can't turn DVR off anyway.

Sources

All opened on 4 November 2026: