Change Tab Height in IntelliJ IDEA: Easy Steps
In this article
Changing the tab height in IntelliJ IDEA adjusts the vertical size of editor tabs, making them easier to click or fitting more tabs on screen. This is done through the IDE's appearance settings, and no plugins or restarts are required.
What You'll Need
- IntelliJ IDEA (any edition: Community, Ultimate, or Edu) installed and running.
- An open project (tabs only appear when you have files open).
Step-by-Step
- Open Settings – On Windows/Linux, go to File > Settings. On macOS, go to IntelliJ IDEA > Preferences (or press Ctrl+Alt+S on Windows/Linux, Cmd+, on macOS).
- Navigate to Appearance – In the left sidebar, expand Appearance & Behavior and click Appearance.
- Find the Tab Height Option – Look for a dropdown or spinner labeled Tab height. It is usually near the bottom of the Appearance settings, under the “Tabs” or “Editor Tabs” section. If you don’t see it, try searching “tab height” in the settings search bar (top-left of the Settings window).
- Select a Value – Choose a preset value like Small, Medium, or Large. Some versions allow a custom pixel value (e.g., 20–40 px). The default is usually “Medium” or “Default”.
- Apply and Confirm – Click Apply to see the change immediately, then OK to close the dialog. The tabs in your editor will resize instantly.
- Adjust if Needed – If the new height feels off, repeat the steps and pick a different value. You can also toggle Show tabs in single row (under Editor > General > Editor Tabs) to change how tabs wrap, which interacts with height.
Common Mistakes
- Looking in the wrong settings – The option is under Appearance, not under Editor > General or Keymap. Many users search “tab size” and confuse it with indentation settings.
- Expecting a numeric input – Older versions only offer preset sizes (Small/Medium/Large). If you don’t see a number box, use the presets.
- Not applying changes – Clicking OK without Apply works, but if you close the dialog with the X button, changes are lost.
- Changing the wrong tab setting – There is also “Tab limit” (how many tabs open) and “Tab placement” (top/bottom). Those are separate; don’t confuse them.
Tips
- Use the search bar – In Settings, type “tab height” to jump directly to the option, saving time.
- Combine with tab placement – If you set tabs to the bottom, the height change applies there too.
- Test with multiple files – Open 2–3 files to see how the new height affects the tab strip before settling.
- Reset to default – If you mess up, click the gear icon in the Appearance settings and choose “Restore defaults” for that section.
- Keyboard shortcut – You can also press Shift twice and type “Appearance” to open the settings quickly.
Troubleshooting
- Can’t find “Tab height” – Your IntelliJ version might use a different label. Try “Tab size” or “Editor tab height”. Also ensure you are in the Appearance settings, not the Editor settings. If still missing, update IntelliJ to the latest version.
- Change doesn’t apply – Click Apply first, then OK. If it still doesn’t change, close and reopen the project. Sometimes the UI needs a refresh.
- Tabs don’t resize – Check if you have a custom theme or plugin that overrides tab styling. Disable suspicious plugins (File > Settings > Plugins) and restart.
- Option is greyed out – This happens if you have “Show tabs in single row” unchecked and the IDE is using a multi-row layout. Try enabling single-row tabs first, then adjust height.
- Height changes but looks weird – The tab height also affects the close button and icons. If they overlap, reduce the height or increase the font size of the editor.
Frequently Asked Questions
Does changing tab height affect all projects?
Yes, the setting is global – it applies to every project you open in that IntelliJ instance.
Can I set a custom pixel height?
In newer versions (2020.1+), you can type a number in the field next to the preset dropdown. Older versions only offer presets.
Will this change the font size of the tab text?
No, tab height only changes the vertical size. To change the text size, adjust the “Editor font” under Editor > Font.
Why do my tabs look smaller after updating IntelliJ?
Updates sometimes reset UI settings. Re-apply your preferred tab height via the same steps.
Is there a way to make tabs even taller than “Large”?
If the maximum preset isn’t enough, type a higher number in the custom field (e.g., 50). The IDE allows up to 100.
Does this work in IntelliJ IDEA Community Edition?
Yes, the tab height setting is available in all editions, including the free Community Edition.