Smart Systems for Home

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

How to Fix Kodi Buffering: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Kodi buffering can ruin your streaming experience, causing frustrating pauses and endless loading circles. This guide walks you through practical fixes—from adjusting cache settings to optimizing your network—so you can enjoy smooth, uninterrupted playback. Before you start, make sure you have access to Kodi's settings menu and, ideally, a stable internet connection to test changes.

What You'll Need

  • Access to Kodi on your device (Windows, Mac, Android, iOS, or a streaming box)
  • Your Kodi version (most steps work for Kodi 19+ and 20+; menus may vary slightly)
  • An internet connection (for testing after changes)
  • Optional: a USB drive or network storage if you plan to move the cache to external storage

Step-by-Step

  1. Check your internet speed. Run a speed test on the same device or network you use for Kodi. For standard HD streams, you need at least 10 Mbps; for 4K, aim for 25 Mbps or higher. If your speed is below this, contact your ISP or move closer to your router.
  2. Use a wired connection. If you're on Wi-Fi, switch to an Ethernet cable if possible. Wired connections are more stable and reduce packet loss, which is a common cause of buffering.
  3. Close background apps. On your streaming device or PC, close other apps that use bandwidth, like downloads, game updates, or other streaming services. On a phone or tablet, check for background app refresh settings.
  4. Adjust Kodi's cache size. Kodi's default cache is small, which can cause buffering. To increase it:
    1. Open Kodi and go to Settings (gear icon) → System → Video.
    2. Scroll to Advanced settings (if not already enabled, click the Expert level at the bottom left).
    3. Look for Cache or Buffering settings. In Kodi 20+, you may need to edit the advancedsettings.xml file manually (see step 5).
  5. Edit advancedsettings.xml (manual cache tweak). This is the most reliable method. On most devices:
    1. Navigate to Kodi's userdata folder. On Windows: %APPDATA%\Kodi\userdata; on Android: Android/data/org.xbmc.kodi/files/.kodi/userdata; on macOS: ~/Library/Application Support/Kodi/userdata.
    2. Create a file named advancedsettings.xml (if it doesn't exist) and open it in a text editor.
    3. Paste the following:
      <advancedsettings>
        <cache>
          <buffermode>1</buffermode>
          <memorysize>31457280</memorysize>
          <readfactor>20</readfactor>
        </cache>
      </advancedsettings>
      This sets a 30 MB cache and increases the read factor. Adjust memorysize (in bytes) based on your device's RAM; 30 MB is safe for most devices.
    4. Save the file and restart Kodi.
  6. Clear Kodi's cache and thumbnails. Over time, Kodi stores thumbnails and other data that can slow it down. Go to Settings → System → Storage → Clean database (or use a maintenance addon like OpenWizard, but manual is safer). Also, delete the Thumbnails folder in the userdata directory (Kodi will rebuild it).
  7. Lower video quality. In the video player, while a stream is playing, press the settings/gear icon (or the OK button on a remote) and select Stream settings. Lower the resolution or bitrate to reduce buffering.
  8. Use a VPN (if applicable). If your ISP throttles streaming traffic, a VPN can help. Choose a VPN with a server near your location and enable it before starting Kodi. Note: VPNs can also slow down your connection, so test both ways.
  9. Update Kodi and addons. Outdated versions can have bugs that cause buffering. Go to Settings → System → Updates to check for Kodi updates, and update your addons from the official repo or wherever you got them.
  10. Restart your router and device. A simple reboot can clear network glitches. Unplug your router for 30 seconds, then plug it back in. Also restart the device running Kodi.

Common Mistakes

  • Setting the cache too high. A huge cache can cause Kodi to crash or lag on devices with limited RAM. Stick to 30–50 MB unless you have a powerful PC.
  • Editing the wrong file. Make sure you're editing advancedsettings.xml in the correct userdata folder, not the Kodi installation folder.
  • Not clearing old cache after changes. If you've been buffering for a while, old junk can remain. Clear the cache and thumbnails after tweaking settings.
  • Ignoring network issues. Many users blame Kodi when the real problem is Wi-Fi interference or a slow ISP. Always test your speed first.
  • Using a VPN that's too slow. A VPN can add latency. Choose a VPN with good speed and a server close to you.

Tips

  • Use a network speed test addon. Some Kodi addons (like "Speedtest") let you test your connection directly within Kodi, which can help you isolate issues.
  • Prefer addons with multiple servers. If you use third-party addons, pick ones that offer multiple sources; switching to a different server can fix buffering.
  • Schedule heavy downloads. If you download large files, do them when you're not streaming.
  • Keep Kodi updated. New versions often include performance improvements.
  • Consider a hardware upgrade. If your device is old (e.g., a low-end Android box), it may struggle with high-bitrate streams. A newer device with more RAM can help.

Troubleshooting

If you've followed the steps and still experience buffering:

  • Test with a different addon. If only one addon buffers, the problem is likely the addon's server, not your setup.
  • Try a different video source. Play a video from your local library (if you have any) to see if buffering occurs there. If it does, the issue is Kodi's cache or device performance.
  • Check your router's QoS settings. Some routers allow you to prioritize traffic to your streaming device. Enable QoS and set your device to high priority.
  • Disable hardware acceleration. In Settings → System → Video → Acceleration, try turning off hardware acceleration. This can help on some devices with incompatible drivers.
  • Reinstall Kodi. As a last resort, back up your library and settings, then uninstall and reinstall Kodi. This clears any corrupted files.

Frequently Asked Questions

Why does Kodi buffer even with fast internet?

Buffering can be caused by your device's cache size, the addon's server speed, or network congestion. Even with fast internet, a small cache or a slow server can cause pauses.

Is it safe to edit advancedsettings.xml?

Yes, if you follow the correct syntax and back up the original file. A mistake can cause Kodi to fail to start, but you can always delete the file to revert to defaults.

Will a VPN slow down Kodi?

Yes, a VPN can reduce speed due to encryption overhead. Choose a VPN with high-speed servers and connect to a nearby location to minimize impact.

How do I know if my cache is too small?

If you see frequent buffering during the first few minutes of a video, your cache may be too small. Increasing it to at least 30 MB often helps.

Can I move the cache to an external drive?

Yes, you can set the cachedir in advancedsettings.xml to an external drive, but this can introduce latency if the drive is slow. It's better to use a fast internal storage.

Does Kodi buffer more with 4K streams?

Yes, 4K streams require more bandwidth and processing power. Make sure your internet speed is high enough and your device can handle 4K decoding.