PyCharm doesn’t have one zoom control. It has several, and each scales something different, which is why a zoom that fixes the code can leave the Project tree exactly as small as it was.
Ctrl+Mouse Wheel (Command on macOS) enlarges the editor font. Zoom IDE scales the whole interface. Presentation Mode raises the font for whoever is watching your screen.
According to the PyCharm 2026.2 Help, the wheel option also comes with a scope setting that changes how long the size lasts. Active editor resets the size when a file is reopened, while All editors saves the size in the current color scheme.
How do you zoom the editor with the mouse wheel or keyboard?

Wheel zoom stays off until you turn it on. Open Settings | Editor | General, tick the checkbox, then hold Ctrl (Command on macOS) and roll the wheel over the editor.
The keyboard needs no setup. Alt+Shift+. increases the size, Alt+Shift+Comma decreases it, and both can be rebound.
Ctrl+Mouse Wheel zoom
The option is called “Change font size with Ctrl/Command+Mouse Wheel” and sits in the Mouse Control group. Ctrl+Alt+S opens the Settings dialog where it lives.
Right next to it you pick how far the zoom reaches.
- With Active editor selected, only the current tab changes. Close and reopen the file and it falls back to the default font or the color scheme font.
- All editors changes every tab and writes the new size into the current color scheme, so files you open later use it too.
If a zoomed file snaps back after you reopen it, that’s the Active editor scope working as designed.
The same checkbox also controls font size in the Quick Documentation popup, according to the PyCharm 2026.2 Help.
Keymap actions for font size
Keyboard zoom runs through Increase Font Size in All Editors and Decrease Font Size in All Editors. The default keymap binds them to Alt+Shift+. and Alt+Shift+Comma. When you use them, PyCharm shows a zoom indicator at the bottom of the editor with the current font size and the default one, and it lets you roll back to the default. Either action can also be run from Find Action (Ctrl+Shift+A).
To assign different keys, for example on a keyboard layout where the default combination is awkward:
- Press Ctrl+Alt+S and open Keymap.
- Search for Increase Font Size in All Editors.
- Right-click the action and choose Add Keyboard Shortcut.
- Press the key combination you want in the dialog.
- Click OK to save the shortcut. Pressing Enter or Escape in that dialog performs its normal action, such as closing it, instead of being recorded. To use one of those keys, click the special-keys button in the dialog and select it.
- Repeat for Decrease Font Size in All Editors.
The Keyboard Shortcut dialog warns you when a combination conflicts with an existing one. A reference list of PyCharm keyboard shortcuts shows which keys are already taken.
Setting an exact editor font size
Editor | Font in Settings lets you type the values directly instead of scrolling (PyCharm Help, 2026.2). Size goes in as a number in points, and line height is a factor of that size (the default 1.2 equals 120%). The font family is set on the same page.
Wheel zoom in the All editors scope writes into the current color scheme, and JetBrains points to the Editor | Color Scheme | Color Scheme Font page for adjusting that value afterward.
None of this touches anything outside the editor. The Project tree and the menus keep their own size.
Typing a number beats scrolling when you want the same size on every machine.
Zooming the whole IDE interface
Zoom IDE resizes every interface element together, so nothing ends up out of proportion (PyCharm Help, Appearance page).
Zoom IDE
Go to View | Appearance | Zoom IDE and hover over a level to preview it before you click. The popup runs from 70% to 200%, with 100% preselected, as of the PyCharm 2026.2 Help.
If no preset fits, type your own percentage into the Zoom field in the Accessibility section under Settings | Appearance & Behavior | Appearance (the documentation example uses 117%) and click OK.
Use custom font for menus and tool windows
Use custom font, in the Accessibility section of the same Appearance page, sets a font family and size for interface text, menus and tool windows included (sidebars too). The editor stays as it is.
One thread on the Russian-language Habr Q&A site asks why wheel zoom leaves the Project tree untouched, and the answer points to this setting.
Use it when the tree text is too small but the editor size is right. If the whole screen feels small and not just the text, Zoom IDE is the better pick.
Using Presentation Mode for screen sharing
Presentation Mode expands the editor to fill the screen and raises the font size so an audience can read the code (PyCharm Help, IDE viewing modes).
You can enter it from View | Appearance | Enter Presentation Mode, or from View | Quick Switch Scheme (or Ctrl+`) and then View Mode in the Switch popup. Find Action works too. Press Ctrl+Shift+A and type the mode name.
Exit through the same paths by picking Exit Presentation Mode. Pressing Shift twice and searching for that action also works.
The Appearance settings page carries a Zoom option that applies only in this mode. The size you set for daily work stays as it is.
The catch is that most of the interface is hidden while the mode is on. Tool windows come back through their shortcuts, or through the main menu when the pointer rests at the top of the screen.
I’d switch it on for the call and off again afterward. Left on permanently, it takes your tool windows with it.
How to reset zoom to the default size
Which control changed the size decides how you reset it. IDE zoom has a Reset to default link, while editor zoom resets through its scope, the Reset Font Size action, or by typing a size back in.
To undo IDE zoom (PyCharm 2026.2 Help):
- Press Ctrl+Alt+S and open Appearance & Behavior | Appearance.
- In the Accessibility section, find the Zoom list.
- Click Reset to default next to it. The link only appears when the zoom level differs from the default.
For editor zoom in the Active editor scope, close the file and open it again. The size returns to the default font or the color scheme font.
In the All editors scope the size sits in the color scheme, so it stays until you change it. JetBrains points to the Editor | Color Scheme | Color Scheme Font page for that.
PyCharm Help documents no default shortcut for resetting a wheel-zoomed size. An older community thread, in which a JetBrains developer answered that no such shortcut existed, is out of date. JetBrains staff later pointed to a Reset Font Size action that can be given a shortcut under Settings | Keymap | Editor Actions, and the zoom indicator that appears when you zoom with the keyboard shortcuts also lets you roll back to the default size.
Choosing between the zoom methods
For daily coding, Editor | Font is enough. Zoom IDE is for a screen that’s small overall, and Presentation Mode only earns its place in front of an audience.
| Method | Scales | Best for | |
|---|---|---|---|
| Ctrl+Mouse Wheel | Editor text and the Quick Documentation popup | Quick, temporary changes | |
| Editor | Font | Editor font, size, line height | A fixed daily size |
| Zoom IDE | The entire IDE | Screens of different sizes | |
| Use custom font | Text in menus, sidebars, tool windows | A readable Project tree, editor untouched | |
| Presentation Mode | Editor at full screen, larger font | Demos and screen sharing |
My default is a typed editor size plus Use custom font for the sidebars. That pair fixes most readability complaints without touching anything else.
Zoom IDE is the obvious reach for “make everything bigger”. It also enlarges toolbars and tool windows, which costs room for code on a small screen.
When zoom does not work in PyCharm
Check the wheel checkbox first. If Change font size with Ctrl/Command+Mouse Wheel under Settings | Editor | General isn’t selected, the wheel does nothing. The PyCharm Help presents it as an option you turn on, so it’s the usual culprit.
If the size snaps back after you reopen a file, the scope setting from the first section is the cause.
Trackpad pinch is a different story, and it has a rough history in JetBrains IDEs.
- On PyCharm 2016.1.2 for macOS, pinch and wheel zoom both failed with the option selected, and the case was collected under IDEA-145815.
- PyCharm 2017.2 on macOS broke pinch zoom after the update, and turning on the wheel option did not help. It was tracked as IDEA-175106, which the tracker now lists as fixed.
In February 2021, WebStorm on Apple Silicon had the same problem. Pinch failed while Cmd+Mouse Wheel worked.
The Help page for the wheel option describes mouse-wheel zoom only. Pinch shows up in user reports, not in the documentation, so treat it as unsupported and rely on the wheel or a bound key.
The reports are from 2016, 2017 and 2021, so they show past breakage and say nothing certain about current behavior.
Zooming in PyCharm FAQ
How do you change the terminal font size in PyCharm?
Press Ctrl+Alt+S, open Tools | Terminal, and set the font and size under Font Settings (PyCharm 2026.2 Help). Line height and column width are set in the same group.
The embedded terminal also inherits line spacing and fonts from the Editor | Color Scheme | Console Font page, so check both places if the terminal text still looks wrong.
Where is the console font set?
Open Editor | Color Scheme | Console Font in Settings and select Use console font instead of the default. By default, console text uses the same font as the color scheme.
Do Zen mode and Distraction-free mode change the font size?
No. The PyCharm Help describes only Presentation Mode as raising the font size.
Distraction-free mode hides the tool windows and toolbars, plus the editor tabs. Zen mode adds Full Screen on top of that.
Which shortcuts open Settings and Find Action?
Ctrl+Alt+S opens Settings, and Ctrl+Shift+A opens Find Action, where any zoom action can be run by name.
Double Shift opens Search Everywhere, which reaches the same actions according to the PyCharm Help.
How to Stop Accidental Zooming in PyCharm
Accidental zooming stops once the Change font size with Ctrl/Command+Mouse Wheel checkbox is cleared in Settings | Editor | General.
An older community thread describes a macOS case where pressing Command shortly after scrolling still triggered font zoom. The answer there was to switch off the mouse-wheel zoom option under Settings | Editor, the same setting that carries a newer name today.
Clearing the box removes the accident. Zoom you actually want then comes from the Increase and Decrease Font Size in All Editors shortcuts (Alt+Shift+. and Alt+Shift+Comma by default), which you can rebind to keys you only press on purpose, or from a fixed size typed under Editor | Font.
There is a downside. The checkbox also governs font size in the Quick Documentation popup, so clearing it removes wheel zoom there as well. The popup’s own Settings icon still lets you set its font size.
As of October 2026, the PyCharm 2026.2 Help still lists the option under Mouse Control, so these steps match current builds.
- Notepad++ Android Options: Apps That Come Close - October 21, 2026
- Data Management Services: A Practical Guide for Growing Companies - October 21, 2026
- MongoDB Cheat Sheet - October 20, 2026



