How do I open an .avi file on my computer?

I downloaded an AVI video file, but it won’t open with the apps I normally use. I’m not sure which program or media player supports .avi files, and I need help finding the best way to play it on my Windows PC.

Use VLC.

It handles AVI files on Windows better than the built-in Movies app in most cases. AVI is a container, so the file often fails because your player is missing the video or audio codec, not because of the .avi ending itself.

Do this:

  1. Download VLC Media Player from videolan.org
  2. Install it.
  3. Right-click your AVI file.
  4. Choose Open with, then VLC.

If it still does not play, the file might be corrupt or incomplete. Test it in another player like MPC-HC or PotPlayer.

If you want AVI files to always open in VLC:

  1. Right-click the file.
  2. Click Properties.
  3. Next to Opens with, click Change.
  4. Pick VLC.
  5. Check Always use this app.

If you get audio with no video, or video with no audio, it’s usuallly a codec issue. VLC fixes most of those without extra packs. Avoid random codec packs unless you know what you’re doing. They cause more problmes than they solve.

AVI is kind of old-school, and Windows can be weird about it because .avi is just the container, not the actual codec inside. So even if the file extension looks normal, the video stream might be something your default player hates.

@stellacadente already covered the easiest route with VLC, which is fair. I’ll disagree a tiny bit on one thing though: if you don’t want another app installed right away, try opening it in Windows Media Player first, not the newer Movies & TV app. Weirdly, WMP sometimes handles older AVI files better.

A couple other things to check:

  • Make sure the download finished completely
  • Look at the file size. If it’s suspiciously tiny, it may be broken
  • Rename the file only if the extension looks doubled, like movie.avi.mp4
  • Try dragging it into MPC-BE or PotPlayer if VLC chokes on it

If none of that works, the file may be damaged, or encoded with something obscure/ancient. At that point I’d inspect it with MediaInfo to see what codec is actually in there. That tells you whether the problem is the player or the file itself. Kinda annoying, but taht’s usually where the real answer is.

Right click the .avi file and check Open with first. If you see Windows Media Player Legacy, try that before anything else. I slightly disagree with @stellacadente on one point though: if AVI keeps failing in modern Windows apps, I usually stop testing players pretty fast and check whether the file itself is the problem.

A few things that help without repeating the usual VLC advice:

  1. Unblock the file

    • Right click file
    • Properties
    • If you see Unblock, check it and hit Apply
  2. Test codecs already on your PC

    • Install a codec pack like K-Lite Codec Pack
    • Pros for K-Lite Codec Pack:
      • Adds support for lots of older AVI codecs
      • Includes Media Player Classic
      • Good if multiple files fail, not just one
    • Cons for K-Lite Codec Pack:
      • More system-wide changes than a standalone player
      • Overkill if you only need to open one file
  3. Convert the AVI

    • If the file is valid but incompatible, use HandBrake to convert it to MP4
    • That’s often the cleanest long-term fix
  4. Check for corruption

    • If it won’t preview anywhere and seeks badly, the download may be incomplete or damaged

So, best path on Windows PC: try WMP Legacy, then codec support, then convert it. If you want the least hassle overall, a codec pack is often more useful than bouncing between players.