MacBook freezes when opening folders or files in VS Code and Safari

Hello,

I am experiencing an issue. For example, when I try to open a folder in VSCode or uploading a file in Chrome, Mac starts to freeze. I can't even attach image to show the issue because if I click attach image option, then entire Safari browser will freeze and I have to force quit the application


[Re-Titled by Moderator]

Original Title: Macbook freezes when opening folders or files in applications using other apps, like VS code or Safari

MacBook Air 13″, macOS 15.5

Posted on Jul 20, 2025 8:11 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 20, 2025 9:33 AM

swastik176 wrote:

Hello,
I am experiencing an issue. For example, when I try to open a folder in VSCode or uploading a file in Chrome, Mac starts to freeze. I can't even attach image to show the issue because if I click attach image option, then entire Safari browser will freeze and I have to force quit the application

[Re-Titled by Moderator]
Original Title: Macbook freezes when opening folders or files in applications using other apps, like VS code or Safari


To trouble shoot further you can:


—A SafeBoot Start up your Mac in safe mode - Apple Support will sort many anomalies


Does a quick disk repair before it fully boots up, and certain system caches get cleared and rebuilt, third party system modifications and system accelerations are disabled temporarily.

Login and test. Reboot as normal and test. Caches get rebuilt automatically.


This test will tell you if third party interference; most extensions etc are not loaded in safe boot mode.

 


—Test issue in another user (or guest user) account Change Users & Groups settings on Mac - Apple Support

This will tell you if it a universal issue or isolated to your user/admin account. 



***wireless keyboard with rechargeable batteries— connect the charging cable, this will make the wired keyboard successful Safe Boot your Mac.

unplug all non-essential peripherals when testing

Uninstall all third party apps that are Cleaners/Optimizers/VPN/Anti-Virus

all known to cause issues on the macOS


2 replies
Question marked as Top-ranking reply

Jul 20, 2025 9:33 AM in response to swastik176

swastik176 wrote:

Hello,
I am experiencing an issue. For example, when I try to open a folder in VSCode or uploading a file in Chrome, Mac starts to freeze. I can't even attach image to show the issue because if I click attach image option, then entire Safari browser will freeze and I have to force quit the application

[Re-Titled by Moderator]
Original Title: Macbook freezes when opening folders or files in applications using other apps, like VS code or Safari


To trouble shoot further you can:


—A SafeBoot Start up your Mac in safe mode - Apple Support will sort many anomalies


Does a quick disk repair before it fully boots up, and certain system caches get cleared and rebuilt, third party system modifications and system accelerations are disabled temporarily.

Login and test. Reboot as normal and test. Caches get rebuilt automatically.


This test will tell you if third party interference; most extensions etc are not loaded in safe boot mode.

 


—Test issue in another user (or guest user) account Change Users & Groups settings on Mac - Apple Support

This will tell you if it a universal issue or isolated to your user/admin account. 



***wireless keyboard with rechargeable batteries— connect the charging cable, this will make the wired keyboard successful Safe Boot your Mac.

unplug all non-essential peripherals when testing

Uninstall all third party apps that are Cleaners/Optimizers/VPN/Anti-Virus

all known to cause issues on the macOS


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacBook freezes when opening folders or files in VS Code and Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.