Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Play MKV Files in Windows Media Player

· 5 min read · Home Tech

In this article
  1. What Is an MKV File?
  2. Why Windows Media Player Doesn't Play MKV by Default
  3. How to Get MKV Files Playing in WMP
  4. What to Know Before Installing Codec Packs
  5. Common Problems and Fixes
  6. Alternatives to Windows Media Player
  7. Frequently Asked Questions

Yes, Windows Media Player can play MKV files, but only if you install the necessary codecs, as it does not support the Matroska container natively. This article explains what MKV files are, why WMP struggles with them, and the safest ways to get them playing without breaking your system.

What Is an MKV File?

MKV (Matroska Video) is a free, open-source container format. A container holds video, audio, and subtitle streams in a single file, much like a ZIP file holds multiple documents. MKV is popular for high-definition movies, TV rips, and web downloads because it supports modern codecs (like H.265/HEVC and VP9), multiple audio tracks (e.g., 5.1 surround), and soft subtitles that can be toggled on or off. The format is not a codec itself—it is the box that carries the codec data. That distinction matters because Windows Media Player (WMP) can handle certain codecs but not the MKV container structure.

Why Windows Media Player Doesn't Play MKV by Default

Windows Media Player relies on DirectShow filters and Media Foundation codecs that Microsoft ships with Windows. The default installation includes support for common formats like AVI, MP4, and WMV, but MKV is not among them. Microsoft has never included Matroska support in WMP, likely due to licensing and development priorities. When you double-click an MKV file, WMP may open but show a black screen, play audio only, or display an error like "Windows Media Player cannot play the file." The underlying issue is that WMP lacks a demuxer to read the MKV container and the codecs to decode the video/audio streams inside.

How to Get MKV Files Playing in WMP

There are two main approaches: install a codec pack that adds MKV support to WMP, or convert the MKV file to a format WMP natively supports. Both work, but they have different trade-offs.

Option 1: Install a Codec Pack

Codec packs add the missing components to Windows so that WMP (and other DirectShow players) can read MKV files. The most widely used free pack is the K-Lite Codec Pack, which includes the LAV Filters (a demuxer and decoder set) and integrates with WMP. After installation, WMP should open MKV files without further configuration.

Option 2: Convert the MKV File

If you prefer not to install third-party codecs, you can convert the MKV to MP4 (H.264/AAC) using a free tool like HandBrake or VLC's convert feature. MP4 is natively supported by WMP (with the HEVC codec installed for some files). This method is more time-consuming but gives you a file that plays in WMP on any PC without extra software.

What to Know Before Installing Codec Packs

Codec packs are generally safe when downloaded from official sources, but they can cause issues if not installed carefully. Some packs bundle extra software or change system file associations. Stick to reputable packs like K-Lite (Standard or Basic version) and avoid "mega" packs that include unnecessary components. Also, be aware that codec packs do not update automatically—you may need to manually update them to support newer codecs like AV1. If you only need MKV playback, a codec pack is the simplest solution; if you also want a more modern player, consider switching to VLC or MPV, which support MKV out of the box.

Common Problems and Fixes

Even after installing a codec pack, you might encounter issues. Here are the most frequent ones and how to resolve them:

  • Audio plays but no video: The video codec is not supported. Update your codec pack or install the specific codec (e.g., HEVC from the Microsoft Store).
  • Video plays but no audio: The audio track may use a codec like DTS or AC3 that the pack didn't include. Install the full K-Lite pack, which includes these.
  • Subtitles don't appear: WMP does not render subtitle tracks by default. Use a player like VLC, or convert the file with subtitles burned in.
  • File opens but is slow/jerky: Your PC may lack hardware acceleration for the codec. Try a lighter player or lower the video resolution.
  • WMP still says "cannot play": The MKV file might be corrupted or use an unsupported container feature. Test with VLC to confirm the file is fine.

Alternatives to Windows Media Player

If you frequently watch MKV files, a dedicated player is often a better choice than WMP with codecs. VLC Media Player is free, open-source, and plays almost any format without extra codecs. MPV is a lightweight, highly customizable player favored by advanced users. Both handle MKV, subtitles, and modern codecs effortlessly. The trade-off is that they have a different interface and may not integrate with Windows Media Center or old WMP features. For most users, VLC is the recommended alternative because it requires zero configuration.

Frequently Asked Questions

Is it legal to install a codec pack?

Yes, codec packs like K-Lite are legal. They use open-source and freely licensed components. However, some codecs (like HEVC) may require a license fee from the manufacturer, but the pack itself is legal to distribute.

Will a codec pack slow down my PC?

No, codec packs only load when you play a file that needs them. They do not run in the background or consume resources when idle. However, installing too many codec packs can cause conflicts, so stick to one.

Can I play MKV on Windows 10/11 without any extra software?

No, not in WMP. Windows 10 and 11 do not include MKV support in WMP. However, the Microsoft Store offers a free "HEVC Video Extensions" for H.265, but that does not add MKV container support. You would still need a codec pack or a third-party player.

Why does VLC play MKV but WMP doesn't?

VLC includes its own demuxer and codecs, so it doesn't rely on Windows components. WMP depends on the system's DirectShow filters, which do not include MKV support by default.

Is it better to convert MKV to MP4 than to install codecs?

It depends. Converting gives you a file that plays everywhere, but it takes time and loses quality if re-encoded. Installing codecs is faster and lossless, but ties you to WMP. If you only need to watch on your PC, codecs are easier; if you want to transfer to a TV or phone, conversion is better.

Can I play MKV with subtitles in WMP after installing codecs?

Usually no. WMP does not render subtitle streams even with codec packs. You would need to extract subtitles to a separate .srt file and enable them via the player's menu, but WMP's subtitle support is limited. VLC or MPC-HC are better for subtitles.