Open the Instagram app
Go to your profile
Tap the menu icon (three lines) in the top-right
Tap Settings and privacy
Tap Accounts Center (or Privacy and security, depending on your version)
Tap Privacy
Find Account privacy
Turn on Private account
Confirm when prompted
