Modifying this control will update this page automatically
![](https://help.apple.com/assets/63D8162D4F5E9E311D0CFA28/63D816334F5E9E311D0CFA30/en_GB/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.