QGIS Freezing? Fix It Fast

Updated November 24, 2026

Total time
15 min
prep 5 min · cook 0 min
Serves
1
one portion

Jump to recipe

QGIS freezing mid-project is a common frustration, but it is usually fixable. This guide walks you through the most effective troubleshooting steps, from clearing corrupted caches to adjusting rendering settings, so you can get back to your map work quickly.

Ingredients

  • 1 installed copy of QGIS (any recent version, 3.x recommended)
  • 1 project file that is freezing (QGIS project .qgz or .qgs)
  • Access to QGIS Settings menu
  • Optional: 5–10 minutes of patience for testing
  • Optional: a backup copy of your project file (for safety)

Instructions

  1. Save and backup your work. If QGIS is still responsive, save your project immediately. Copy the .qgz file to a safe location. If it is completely frozen, skip to step 2.
  2. Force-quit QGIS. On Windows, press Ctrl+Alt+Delete and select Task Manager, then end the QGIS process. On macOS, press Command+Option+Escape and force quit QGIS. On Linux, use your system monitor or run killall qgis in a terminal.
  3. Clear the QGIS cache. Restart QGIS. Go to Settings → Options → Network and click the Clear cache button. Also clear the authentication cache under Settings → Options → Authentication by clicking Clear next to the credential cache. This removes corrupted temporary files that often cause freezes.
  4. Disable hardware acceleration. Go to Settings → Options → Rendering. Uncheck Enable hardware acceleration (or set it to “Software” if that option exists). Restart QGIS. This resolves many graphical freezes, especially on Windows with older graphics drivers.
  5. Open the project with rendering off. Start QGIS, then go to Project → Properties → QGIS Server and uncheck “Use project’s settings”? Actually, the simpler method: before opening the project, go to View → Panels and ensure the Layers panel is visible. Then open the project. If it freezes again, try opening QGIS with the project file by dragging it into the window while holding the Shift key – this opens the project with all layers unloaded, letting you load them one by one.
  6. Load layers selectively. If the project opens with layers off, right-click each layer in the Layers panel and choose Zoom to Layer to see its extent. Then check the Identify tool or simply toggle visibility. If a specific layer causes a freeze, that layer is the culprit – often a huge raster or a broken WMS/WFS connection.
  7. Check for bad data sources. Go to Layer → Add Layer → Add Vector Layer and browse to the file paths of your layers. If any file is missing or on a disconnected network drive, QGIS can hang. Move all source files to a local folder and re-link them via Layer Properties → Source.
  8. Reduce rendering load. In the Layers panel, uncheck any layer that is not absolutely necessary. For rasters, go to Layer Properties → Rendering and set Resampling to “Nearest Neighbour” and reduce the Zoomed In resolution. For vectors, set Simplify to “No simplification” or enable “Simplification by distance” with a higher tolerance.
  9. Update QGIS and graphics drivers. Install the latest QGIS version from the official website (qgis.org). Also update your GPU drivers – outdated drivers are a leading cause of freezes, especially with hardware acceleration enabled.
  10. Test with a new project. Create a blank project and add just one small layer. If it works, your original project file may be corrupted. Try exporting your layers to new files (e.g., GeoPackage) and rebuilding the project from scratch.

Tips

  • Substitution for hardware acceleration: If disabling it makes the map too slow, try updating your graphics driver first, then re-enable acceleration. The issue is often driver-related, not QGIS itself.
  • Common mistake: Opening a project while a network drive is disconnected. Always verify your data paths are accessible before opening the project.
  • Storage tip: Keep your QGIS project and data files on a local SSD, not on a slow network share or USB drive. This prevents timeouts and freezes.
  • Quick fix: If QGIS freezes on startup, delete the QGIS settings folder (on Windows: %APPDATA%\QGIS; on macOS: ~/Library/Preferences/QGIS; on Linux: ~/.config/QGIS). This resets all preferences and often fixes persistent freezes.

Serving Suggestions

Once QGIS is stable, serve yourself a smooth workflow: keep your project organized with named groups in the Layers panel, and save frequently with Ctrl+S. Use the “Project → Save To” option to create versioned backups (e.g., “project_v2.qgz”) so you can revert if a new freeze appears.

Variations

For large rasters: Build pyramids (overviews) for your rasters using Raster → Miscellaneous → Build Overviews – this dramatically reduces rendering load. For web services (WMS/WFS): Use a local cache by setting a larger Cache Size in Settings → Options → Network. For complex vector styles: Simplify symbology by using fewer rule-based styles or disabling “Feature blending” in layer properties.

Storage and Reheating

Your QGIS project file is stored as a single .qgz file – keep it in a dedicated folder with your data. After troubleshooting, save the working version immediately. If you need to “reheat” a frozen project later, always open it with the Shift key held down to load layers off, then toggle them on one by one. This should take no more than 2–3 minutes for a typical project. For long-term storage, compress the folder into a .zip archive – QGIS will open the project from a zip without issues, though it may be slightly slower.

Frequently Asked Questions

Why does QGIS freeze when I zoom in? This usually happens with large rasters or complex vector layers. Enable “On-the-fly” simplification in Project Properties, or build raster overviews. If it persists, the layer may be corrupted – try re-exporting it to a new GeoPackage.

Can a plugin cause QGIS to freeze? Yes. Disable all plugins via Plugins → Manage and Install Plugins → Installed and uncheck them all. Restart QGIS. If the freeze stops, re-enable plugins one by one to find the culprit.

What if QGIS freezes on startup before I can do anything? Delete the QGIS settings folder (see Tips above). This resets all preferences and often fixes startup freezes. Back up your project files first – this does not delete projects, only settings.

Is my data safe if QGIS crashes? Usually yes, but unsaved changes are lost. QGIS autosaves by default to a temporary file, but it is not reliable. Always save frequently. You can enable Settings → Options → General → Autosave to save every 5 minutes.

Does the operating system matter? Freezes are more common on Windows due to graphics driver issues, but macOS and Linux can also freeze, especially with large datasets. The steps above work on all platforms, though the settings folder path differs (see Tips).

Why does QGIS freeze when I use the Identify tool? This often happens when a layer has a huge attribute table or when the layer is a WFS service with no paging. Try limiting the feature count in Layer Properties → Query Builder, or use “Identify” on a single feature instead of multiple.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).