sodcalculator

10 Tech How-To

Apply vs OK Buttons in Windows: Key Differences

Guide 10-7378 · Updated · Step by step

The Apply button in a Windows dialog box saves your current changes without closing the window, while the OK button saves your changes and closes the window. This distinction lets you test multiple settings in one session, whereas OK finalizes everything and dismisses the dialog.

Why Windows Has Two Save Buttons

Windows dialog boxes often include both Apply and OK to give you control over when changes take effect. The Apply button was introduced in early Windows versions to let users experiment with settings—like display resolution or sound volume—without losing the ability to tweak further. If you click OK, the dialog closes, and you must reopen it to make additional adjustments. Apply keeps the dialog open, so you can see the result of your change immediately and continue adjusting.

How Apply and OK Behave in Practice

When you click Apply, the system immediately applies the new settings to the current session. For example, changing your screen resolution and clicking Apply will resize the display right away, while the dialog remains open. If you are satisfied, you can then click OK to close the window—the settings are already saved, so OK just confirms and exits. If you change your mind after applying, you can either revert to the previous settings manually or click Cancel (if the dialog still allows it). Note that some dialogs disable Apply until you make a change, and some disable Cancel after Apply has been clicked, because the system state has already been altered.

When to Use Apply vs OK

  • Use Apply when you want to test a setting before committing to it, especially if the dialog has multiple tabs or options.
  • Use OK when you are done making changes and want to close the dialog, knowing the settings will be saved.
  • Use Cancel to discard any changes that have not been applied. However, once you click Apply, Cancel may not undo the applied changes—you may need to revert manually.

Common Misconceptions and Pitfalls

A frequent misunderstanding is that Apply is the same as OK, just without closing. That is true in most cases, but there are exceptions. Some settings, like certain security policies or hardware driver changes, may require a restart to take effect even after you click Apply. Additionally, some dialogs treat Apply as “save without closing� but do not allow you to undo the change with Cancel afterward. Another pitfall: if you make changes, click Apply, and then click Cancel, the applied changes remain—Cancel only discards changes made after the last Apply. To truly revert, you must manually change the setting back.

Comparing Apply, OK, and Cancel

The three buttons form a consistent pattern in Windows dialogs. OK is the default action (often triggered by pressing Enter), and it saves and closes. Cancel (often triggered by pressing Esc) closes without saving, but only if you have not already applied changes. Apply is the odd one out—it saves without closing. In many dialogs, Apply is grayed out until you modify a value, and OK is the only button that closes the window. Some third-party applications follow the same convention, but not all—some use “Save� and “Close� instead, which can be confusing. Always look for the tooltip or the dialog’s help text if you are unsure.

Accessibility and Keyboard Shortcuts

Keyboard users can access these buttons with the Tab key and activate them with Space or Enter. The default button (usually OK) is highlighted and can be activated with Enter, while Esc triggers Cancel. Apply does not have a universal shortcut, but you can often use Alt+A if the button has an underlined letter. In high-contrast or screen-reader modes, the buttons are announced with their names, so the distinction is clear. If you have a visual impairment, you can rely on the button labels—Apply, OK, Cancel—which are always visible.

Frequently Asked Questions

Does Apply save my changes permanently?

Yes, in most cases clicking Apply writes the changes to the system or application configuration immediately. The changes persist even if you close the dialog without clicking OK. However, some changes may require a restart or logoff to fully take effect, as indicated by a message in the dialog.

Can I undo changes after clicking Apply?

Usually, you can manually revert the setting back to its previous value, but there is no automatic undo. Clicking Cancel after Apply does not undo the applied changes—it only discards any changes made after the last Apply. To revert, you must go back into the dialog and change the setting again.

Why is the Apply button sometimes grayed out?

The Apply button is disabled when there are no unsaved changes. As soon as you modify a setting, the button becomes active. This is a visual cue that you have pending changes that can be applied without closing the dialog.

What happens if I click OK without clicking Apply?

Clicking OK saves all current changes and closes the dialog. It is equivalent to clicking Apply and then OK, but in one step. The settings are saved and the window closes.

Is there a difference in how Windows and third-party apps use these buttons?

Windows follows the standard convention, but some third-party applications may use different labels or behavior. For example, some apps use “Save� and “Close� instead of Apply and OK, or they may have a single “Save� button that both saves and closes. Always check the specific app’s documentation if you are unsure.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →