Instant Window Resize Animation on macOS
In this article
To make window resizing animation instant on macOS, you can disable the "animate window resizing" setting in System Settings > Accessibility > Display, or use the terminal command `defaults write NSGlobalDomain NSWindowResizeTime -float 0.001`. This removes the smooth but slow animation, making windows snap to their new size immediately.
Why macOS Animates Window Resizing
macOS adds a subtle animation when you resize a window by dragging its edge or corner. This is part of the system's visual design, intended to make resizing feel fluid and less jarring. The animation is controlled by a system-wide setting called `NSWindowResizeTime`, which specifies the duration of the animation in seconds. The default value is 0.2 seconds, which is fast enough to feel smooth but slow enough to be noticeable, especially on older hardware or when resizing large windows.
For users who prefer a more immediate response—such as those with visual sensitivities, or those who simply find the animation distracting—this delay can be reduced or eliminated. The setting is not exposed in the main System Settings interface, but it can be changed via the `defaults` command in Terminal.
How to Disable the Animation via System Settings
For macOS Ventura and later, Apple provides a built-in toggle that reduces motion system-wide, including window resizing. This is the safest and most user-friendly method, as it doesn't require any command-line knowledge.
- Open System Settings (Apple menu > System Settings).
- Click Accessibility in the sidebar.
- Click Display in the right pane.
- Toggle on Reduce motion.
This setting affects more than just window resizing; it also reduces the animation of Mission Control, Launchpad, and other system animations. If you only want to change window resizing, the terminal method below is more targeted.
Using Terminal to Make Resizing Instant
For precise control, you can use the `defaults` command to set the `NSWindowResizeTime` to a very small value. This directly reduces the animation duration to near zero.
- Open Terminal (found in /Applications/Utilities/).
- Type the following command and press Return:
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 - Log out and back in, or restart your Mac for the change to take effect.
To revert to the default animation, use the command:
defaults delete NSGlobalDomain NSWindowResizeTime
This removes the custom value and restores the system default of 0.2 seconds.
What the Setting Actually Does
The `NSWindowResizeTime` value is the duration, in seconds, that macOS spends animating a window's size change. A value of 0.2 means the window takes 0.2 seconds to reach its final size. Setting it to 0.001 effectively makes the transition instantaneous—so fast that it appears as a single snap.
It's important to note that this setting applies to all apps that use the standard AppKit window system. Most native macOS apps respect it, including Finder, Safari, and Mail. Some third-party apps that implement custom window drawing may ignore it, but the majority will follow the system-wide preference.
Common Issues and Troubleshooting
If you've set the value but don't see a change, the most common reason is that you haven't restarted the app or the system. The setting is read at app launch, so you need to quit and reopen the app you're testing. For system apps like Finder, you can restart it by holding Option and right-clicking the Finder icon in the Dock, then selecting Relaunch.
Another issue is that some apps, especially those with custom title bars (like many Electron-based apps), may not respond to this setting. In that case, the only option is to check the app's own preferences for a "reduce animations" option.
If you're using an older macOS version (before Ventura), the System Settings path is different: System Preferences > Accessibility > Display, and the checkbox is labeled "Reduce motion."
Comparison with Other Animation Settings
macOS has several animation-related settings that are often confused with each other. The Reduce motion accessibility setting is a global switch that minimizes all system animations. The NSWindowResizeTime is specifically for window resizing. There's also NSAutomaticWindowAnimationsEnabled, which controls the animation of window opening and closing (the "genie" effect). If you want to disable that, you can use:
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
These settings are independent—you can disable one without affecting the other.
Is It Safe and Reversible?
Yes, changing these settings is completely safe. They are user preferences stored in the system's defaults database, and they can be reverted at any time using the `defaults delete` command or by toggling the System Settings switch. There is no risk of damaging your system or files.
One thing to consider is that disabling animations can make the interface feel less polished to some users. The animation exists to provide visual feedback and a sense of continuity. If you disable it, resizing will feel more abrupt. However, many users find the instant response more productive, especially when working with multiple windows or on large displays.
Frequently Asked Questions
Will this work on macOS Sonoma or Sequoia?
Yes, the `defaults` command works on all recent macOS versions, including Sonoma and Sequoia. The System Settings path may vary slightly, but the terminal method is consistent.
Do I need to restart my Mac after changing the setting?
Not necessarily. You only need to restart the apps you want to affect. For system-wide changes, logging out and back in is sufficient. A full restart is not required.
Can I set the animation to a specific speed, like 0.1 seconds?
Yes, you can set any float value. For example, `defaults write NSGlobalDomain NSWindowResizeTime -float 0.1` gives a faster but still noticeable animation. A value of 0.001 is effectively instant.
Why doesn't the change affect some apps?
Some apps, particularly those that use custom window drawing (like game engines or certain cross-platform frameworks), may not respect this system setting. In those cases, check the app's own preferences for animation options.
Is there a way to make resizing instant without using Terminal?
Yes, the "Reduce motion" accessibility setting in System Settings achieves a similar effect, though it also disables other animations. For a targeted fix, the Terminal command is the only way.
Will this affect the performance of my Mac?
No, disabling animations actually reduces the graphical load slightly, which can improve performance on older machines. There is no downside in terms of speed.