Modifying this control will update this page automatically
![](https://help.apple.com/assets/63FFD63D71728623E706DB4F/63FFD63E71728623E706DB56/en_US/20f5edbfdfa0bd8ad4c4c6452e5b6761.png)
Limit the number of scrollback rows in Terminal on Mac
Terminal retains a log that lets you scroll back through all content typed by a user. Over time, the amount of information grows, making it difficult to scroll back through the content.
Using Terminal settings, you can change the number of rows retained in a session.
In the Terminal app
on your Mac, choose Terminal > Settings, then click Profiles.
In the profiles list on the left, select a profile.
Click Window.
In the Scrollback section, select “Limit number of rows to,” then enter the number of rows.