If VLC crashes after a video finishes playing, you're not alone, and the solution might be simpler than you think. So, if you've considered reinstalling the application, looking for an older version, or suspect your video is corrupted, don't worry. This article will help you fix it. We'll show you a solution that works 90% of the time And we'll look at other alternatives just in case. Let's begin.
VLC closes when a video finishes: what to check

We understand how frustrating it is If VLC closes after a video finishes playing, it's because this player is supposed to be incredibly robust: it opens any codec without needing to install external packages or anything like that. That's why a problem like this seems so strange and might lead us to think something is broken (it's the same thing that happens if...). VLC resizes windowsIf your videos suddenly close just as they're about to end, the solution is super simple.
In most cases, VLC closes after a video finishes not because of a code error or a hardware failure, but by a checkbox that has been activated and the status has changed. This activation usually happens accidentally or inadvertently after an update or clean install. Let's look in more detail at what function we're talking about.
The main culprit: “Leaving at the end of the playlist”

In short: VLC closes when a video finishes because the option was activated “Exit to the end of the playlist”This explains why the player closes when the credits appear or just before the video ends. VLC interprets closing the file as closing the application. But where is this function located?
- On Windows and Linux: Go to the top menu and click on Media. A list of options will open. Among them is “Exit at the end of the playlist.” If it has a checkmark next to it, uncheck it, and you're done. Problem solved.
- On macOS: Open the VLC menu in the top bar and go to Preferences (or Settings) – Playback or Video and look for the “Exit after playback” option. Uncheck it and save the changes.
Once you uncheck this box in both Windows and Linux, VLC will keep the window open with the last frame of the video. This way, You can close the program manually Whenever you want. But be careful! On a Mac it's a little different. Closing the window doesn't mean the application closes; it remains active in the Dock. So you might have to right-click and select Quit.
Check Play and Exit in Advanced Preferences

This is Another option if VLC closes after a video finishes:
- Go to Tools – Preferences or press Ctrl + P.
- At the bottom left, under Show settings, select All instead of Simple.
- In the left panel, go to Playlist, uncheck "Play and exit" and press Keep. When you play a short video until the last second, VLC will remain open in its main window without closing.
Why does VLC close when a video finishes playing?
You might be thinking: “But I never checked that box.”And perhaps you're right. In fact, it's not uncommon for this option to have activated itself. Why? In most cases This happens after software updates. or the import of older configuration profiles. VLC has seen many improvements from its 2.x versions to the current 3.x, and playback management and app closure have undergone several adjustments.
If your VLC recently received updates, there may have inherited previous configurations that don't migrate perfectly. Another possibility is that you previously had long playlists and VLC was indeed closing when they finished. If you had it configured this way, perhaps that preference was revived after a reinstallation.
It could be a symptom of a bigger problem
However, if VLC closes after a video finishes even without that box being checked, or if it disappears from the Task Manager altogether, then the problem might be more serious. And if you also see a Windows error message, it could all point to... a hardware acceleration conflictWhy does this happen?
Perhaps what is causing the sudden closure is a problem with the graphics driver by releasing the final frame. To check this, follow this path:
- Tools – Preferences.
- Go to Input/Codecs.
- Change Hardware Accelerated Decoding to Disable.
- Guard Try playing the same video again. If VLC stops crashing after that, the problem is with your GPU driver, not the player.
One last possible reason if VLC closes after finishing a video is that the file has a corrupted index at the endVLC attempts to read the metadata at the end of the video to update the progress bar, but if the file is corrupted, the player may fail to access a missing or corrupted portion of the video. If this happens, the application will only crash with that specific video, not with all videos.
Everything you should check if VLC closes after a video finishes

In conclusion, if VLC closes after a video finishes and you don't want to waste time unnecessarily reinstalling the application, Review these settings in the following order:
- Look at the starting square: This is the most common cause in most cases. Uncheck the "Exit at the end of the playlist" option and the problem will most likely be solved.
- Try another file to see if the problem is with that particular video.
- Disable hardware acceleration: If the problem persists and there are other symptoms, try disabling accelerated decoding. If this solves it, update your graphics card drivers from the manufacturer's official website (NVIDIA(AMD or Intel).
If you do it this way, you'll surely Your player will return to its normal behavior.Before downloading old installers or looking for alternatives, take a few seconds to see if that option is selected. Chances are, the solution is just a click away.
Index