Fix Excel Power Query Freezing or Hanging Issues
Question details
The user experiences severe freezing and hanging when using Power Query in Excel, leading to unresponsive or misaligned interfaces that require closing the application via Task Manager.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Loading, refreshing, or manipulating large datasets using Power Query in Excel.
- Observed behavior
- Excel becomes completely unresponsive or its user interface misaligns during Power Query operations, forcing the user to terminate the process using the Task Manager.
Before proceeding with troubleshooting, ensure you have saved any other open workbooks and verify that your computer meets the necessary memory (RAM) requirements for processing large data sets in Excel.
Clear the Power Query Data Cache
Clearing the cache resolves temporary data glitches and memory overloads that can cause Power Query to hang indefinitely.
Power Query stores preview data in its cache to speed up the editing process. Over time, or when working with massive files, this cache can become corrupted or full, leading to performance issues and freezing.
In Excel, navigate to the 'Data' tab on the top ribbon and click on 'Get Data'.
From the dropdown menu at the bottom, select 'Query Options'.
In the Query Options window, go to the 'Data Load' section under Global settings. Click on the 'Clear Cache' button to remove stored query preview data, then click 'OK' and restart Excel.

Delete the Stuck Query Step in Editor
If a specific query step is stuck during the loading phase, deleting the last applied step can instantly interrupt the hanging process.
Install the Latest Office Updates
Outdated versions of Microsoft Office may contain bugs that cause Power Query interface misalignment and freezing.
Try WPS Office for Lightweight and Fast Data Processing
If Microsoft Excel frequently freezes or consumes too much memory during data processing, consider switching to WPS Office. It provides a highly compatible, lightweight spreadsheet solution that handles everyday datasets smoothly without heavily taxing your computer's resources.

Frequently Asked Questions
Why does Power Query consume so much memory and freeze Excel?
Power Query processes data step-by-step in the background. If you are importing massive datasets, merging multiple large tables without filtering first, or applying complex transformations, it can exceed your system's available RAM, causing Excel to hang or freeze.
Can I stop a Power Query that is stuck loading?
Yes. If the user interface is still partially responsive, you can try to stop a stuck query by clicking the 'Cancel' or 'Stop' button on the Queries & Connections pane. Alternatively, open the Power Query Editor and delete the last applied step to interrupt the infinite load.
What information should I provide when seeking support for Power Query errors?
When contacting IT support or Microsoft forums, you should include screenshots of the freeze or error, the M-code structure of your query, details about your data source (e.g., local network folder, SQL server), your exact Excel build version, and whether the issue is reproducible in a brand new workbook.




