How to Zoom in PyCharm: Editor, UI, and Font
In this article
To zoom in PyCharm, use the keyboard shortcut Ctrl + Shift + Plus (Windows/Linux) or Cmd + Shift + Plus (macOS) to increase the font size in the editor, or Ctrl + Mouse Wheel Up (with the zoom-on-scroll option enabled) for quick, temporary zooming. For the entire interface, go to File > Settings > Appearance & Behavior > Appearance and adjust the IDE font size (labels may vary slightly by version).
What You'll Need
- PyCharm installed (Community or Professional edition).
- A project open or at least the editor visible.
- Keyboard and mouse (some shortcuts require a numeric keypad).
Step-by-Step
- Zoom the editor font with shortcuts. Press Ctrl + Shift + Plus (Windows/Linux) or Cmd + Shift + Plus (macOS) to increase the editor font size. Press Ctrl + Shift + Minus (or Cmd + Shift + Minus) to decrease it. Each press changes the size by one point. This affects only the code editor, not menus or tool windows.
- Enable zoom on scroll (optional). Open File > Settings (Windows/Linux) or PyCharm > Preferences (macOS). Navigate to Editor > General. Check the box labeled Change font size with Ctrl+Mouse Wheel (or Cmd+Mouse Wheel on macOS). Click Apply and OK. Now hold Ctrl (or Cmd) and scroll the mouse wheel up or down over the editor to zoom in or out. This is a temporary zoom that resets when you reopen the file.
- Adjust the default editor font size. Go to File > Settings > Editor > Font (macOS: PyCharm > Preferences > Editor > Font). Change the Size field to your preferred value. Click Apply and OK. This sets the base size for all files.
- Zoom the entire IDE interface. Open File > Settings > Appearance & Behavior > Appearance (macOS: PyCharm > Preferences > Appearance & Behavior > Appearance). Look for IDE font size or Override default fonts by and adjust the size. This scales menus, tool windows, and dialogs. Note that some versions label this differently, so look for options containing "font" or "size" under Appearance.
- Use the View menu for quick zoom. In the main menu, go to View > Appearance and check Zoom IDE (if available) or use View > Enter Presentation Mode for a larger, distraction-free view. Presentation mode enlarges the editor and hides tool windows; exit with View > Exit Presentation Mode.
- Zoom a specific tool window. Click inside a tool window (e.g., Project view or Terminal) and use the same Ctrl + Shift + Plus shortcut. This changes the font size for that tool window only.
- Reset zoom to default. If you have zoomed too far, press Ctrl + Shift + 0 (zero) to reset the editor font to the default size. Alternatively, go back to Settings > Editor > Font and click Reset or set the size manually.
Common Mistakes
- Using the wrong plus key. The shortcut requires the Plus key on the main keyboard or numeric keypad. On some keyboards, Ctrl + Shift + = (the equals key) works instead of Ctrl + Shift + Plus.
- Expecting zoom on scroll without enabling it. The Ctrl + Mouse Wheel zoom is off by default. You must enable it in Settings > Editor > General.
- Confusing editor zoom with IDE zoom. Editor shortcuts change only the code font. To enlarge menus and toolbars, adjust the IDE font size in Appearance settings.
- Forgetting that zoom-on-scroll is temporary. The size resets when you close and reopen the file. For a permanent change, set the font size in Settings > Editor > Font.
- Using an outdated PyCharm version. Menu labels and shortcut behavior can differ between versions. If a path doesn't match, look for similar wording or check the official PyCharm documentation for your version.
Tips
- Use Ctrl + Shift + Plus for quick, temporary zoom while reading code; use Settings > Editor > Font for a permanent size.
- If you frequently zoom, enable Change font size with Ctrl+Mouse Wheel for fast adjustments.
- Presentation mode (View > Enter Presentation Mode) is handy for demos or screen sharing.
- You can set different font sizes for different file types (e.g., Python vs. Markdown) in Settings > Editor > Font.
- To zoom the terminal, click inside the Terminal tool window and use the same shortcut, or adjust the terminal font in Settings > Tools > Terminal.
Troubleshooting
- Shortcut does nothing: Check that the editor has focus (click inside the code area). On some keyboards, the Plus key requires Shift; try Ctrl + Shift + = or Ctrl + =.
- Zoom on scroll not working: Ensure the option is enabled in Settings > Editor > General. Also check that you are holding Ctrl (or Cmd) while scrolling over the editor, not over a tool window.
- IDE font size option missing: In some versions, the setting is under Settings > Appearance & Behavior > Appearance labeled Override default fonts by. If you cannot find it, use the search bar in Settings to search for "font size".
- Zoom resets unexpectedly: Zoom-on-scroll is temporary by design. For a permanent size, set it in Settings > Editor > Font.
- Menus too small after editor zoom: Editor zoom does not affect menus. Adjust the IDE font size in Appearance settings as described in Step 4.
Frequently Asked Questions
How do I zoom in PyCharm without a mouse?
Use Ctrl + Shift + Plus (Windows/Linux) or Cmd + Shift + Plus (macOS) to increase the editor font size. For the entire IDE, adjust the IDE font size in Settings > Appearance & Behavior > Appearance.
Can I zoom the entire PyCharm window like a browser?
PyCharm does not have a single zoom shortcut for the whole window. You can enlarge the editor font and the IDE font separately. Presentation mode also enlarges the interface for demos.
Why does Ctrl + Mouse Wheel not zoom in PyCharm?
The zoom-on-scroll feature is disabled by default. Enable it in Settings > Editor > General by checking Change font size with Ctrl+Mouse Wheel.
How do I reset the zoom level in PyCharm?
Press Ctrl + Shift + 0 (zero) to reset the editor font to the default size. For a permanent reset, go to Settings > Editor > Font and set the size back to the original value.
Does zooming affect code execution or formatting?
No. Zooming only changes the visual display; it does not alter your code, indentation, or how the program runs.
Can I set a different zoom level for each project?
Font size settings are global by default. However, you can create different settings profiles or use per-project settings for some options, but editor font size is typically applied globally.