Safari remembers the webpages you’ve visited for as long as a year, so you can easily return to them.
See pages you visited in this window or tab: Click the Back button or Forward button in the toolbar. If you have a trackpad or mouse that supports gestures, swipe left or right to move through your history one page at a time. See Learn trackpad and mouse gestures.
Choose from a list of previous pages: Press and hold the Back button or Forward button.
Choose from a longer list of webpages you’ve visited: Choose a webpage from the History menu, or choose Reopen Last Closed Window or Reopen All Windows from Last Session.
View all the webpages in your browsing history: Choose History > Show History.
Visually browse thumbnails of webpages you visit frequently: Choose History > Show Top Sites.
Visit pages on your Reading List: Click the Sidebar button in the toolbar, then click Reading List.
Safari uses iCloud to keep your browsing history the same on all your Mac computers and iOS devices that have Safari turned on in iCloud preferences. However, your Mac can keep your browsing history for as long as a year, while some iOS devices keep browsing history for a month. To change how often your Mac removes history items, use the General pane of Safari preferences.