Email accounts on an iPhone are almost always grayed out because a Screen Time restriction is blocking account changes. To fix it, go to Settings > Screen Time > Content & Privacy Restrictions > Allow Changes to Settings, tap Accounts, and choose Allow, entering your Screen Time passcode if asked.
These steps match iOS 27 and also work on iOS 26 and iOS 18. On older versions the same switch may be labeled Account Changes, and Mail settings sit under Settings > Mail instead of Settings > Apps > Mail. They follow Apple’s support articles on grayed-out Apple Account settings and resetting a Screen Time passcode, plus the iPhone User Guide page on adding and removing email accounts.
What “Grayed Out” Looks Like
You are probably dealing with this restriction if you see one or more of these:
- Add Account in Settings > Apps > Mail > Mail Accounts is dim and does nothing when you tap it.
- Your existing accounts are listed but dimmed, so you can’t open them to change a password or turn off Mail.
- Your name (your Apple Account) at the top of Settings is grayed out.
- You get the message “Sign out is not available due to restrictions.”
If the accounts open normally but mail won’t arrive, that’s a different problem; see Apple’s guide for when you can’t receive email on iPhone.
You Need the Screen Time Passcode
- You need the Screen Time passcode, a separate four-digit code that protects Screen Time settings. It is not the passcode you use to unlock the iPhone.
- If the iPhone belongs to a child in Family Sharing, the parent or guardian has to make the change. Skip to the child’s iPhone section below.
- If it’s a work or school iPhone, check the managed-device section first so you don’t remove something your organization needs.
How to Fix Grayed-Out Email Accounts on iPhone
- Open Settings and tap Screen Time.
- Tap Content & Privacy Restrictions.
- Check the All Restrictions switch at the top. If it’s on, scroll down to the Privacy Restrictions section. If it’s off, Screen Time isn’t blocking account changes, so skip to Other Reasons Accounts Are Grayed Out below.
- Tap Allow Changes to Settings. You see a list of settings, each marked Allow or Don’t Allow.
- Tap Accounts and choose Allow. Enter your Screen Time passcode if asked.
- Go back to Allow Changes to Settings and look for anything else set to Don’t Allow. Tap each one you need to change and choose Allow.

Now go to Settings > Apps > Mail > Mail Accounts. Add Account should be bright and tappable, and you can open an account to change it, turn it off, or tap Sign Out or Delete Account.
If you came here after a password change, you can now update your email password on the iPhone.
If you’re adding a Gmail account, you don’t need to change anything in Gmail first, since Google now keeps IMAP turned on for Gmail all the time.
If Accounts Already Says Allow but Is Still Grayed Out
- Set Accounts to Don’t Allow, go back, then set it to Allow again. This makes the iPhone save the setting fresh.
- Restart the iPhone and check Mail Accounts again.
- Turn the All Restrictions switch off. This lifts every content and privacy restriction on the phone, not just the account one, so use it only on your own iPhone or turn it back on afterward.
Why Screen Time Grays Out Accounts
When Accounts is set to Don’t Allow, iOS stops anyone from adding, removing, or editing accounts, and it shows those controls as grayed out. Apple says the same setting grays out your Apple Account at the top of Settings. Parents often turn it on so a child can’t add a new email or sign in with a different Apple Account. You may also have turned it on yourself while setting up Screen Time and forgotten about it, or the setting may have come back after restoring the iPhone from a backup.
Allowing account changes doesn’t turn off your other Screen Time rules. App limits, Downtime, and content filters stay as they were.
How to Turn Off the Screen Time Passcode
If you see “Sign out is not available due to restrictions,” a Screen Time passcode is turned on. To remove it:
- Open Settings and tap Screen Time.
- Scroll down and tap Manage Screen Time.
- Tap Change Screen Time Passcode.
- Tap Turn Off Screen Time Passcode, then enter the passcode.
Try the account change again. Without a passcode, anyone holding the phone can change Screen Time, so set a new one later if you use restrictions. For how restrictions work in general, see what restrictions on an iPhone are and how to set them up.
Forgot the Screen Time Passcode?
- Open Settings > Screen Time > Manage Screen Time.
- Tap Change Screen Time Passcode, then tap it again.
- If asked, enter the Apple Account email address and password that were used to set up the Screen Time passcode.
- Enter a new Screen Time passcode, then enter it again to confirm.
If the reset fails, the Apple Account it wants may not be the one signed in on the phone. It could be a family member’s or a child’s account, so ask whoever set up Screen Time. When you create a passcode, it is a good idea to turn on Screen Time Passcode Recovery, since it lets your Apple Account reset a forgotten code (Apple’s iPhone guide covers it). If Share Across Devices is on, the new passcode also updates on your other devices.

Is This a Child’s iPhone?
If the iPhone belongs to a child in a Family Sharing group, a parent or guardian set the restriction and needs to change it. A child’s Screen Time passcode can only be changed from the family organizer’s or a parent’s device, not the child’s.
With iOS 27 on every device in the family, a parent can do it from their own iPhone, according to Apple’s parental controls guide:
- Open Settings, tap Family, then tap the child’s name.
- Tap Content & Privacy Restrictions and enter your Screen Time passcode if asked.
- Scroll down to Privacy Restrictions.
- Tap Accounts and choose Allow.
If some family devices are still on an older version, open Settings > Screen Time on the parent’s iPhone, tap the child’s name under Family, and use the same Content & Privacy Restrictions settings there. A parent can also enter the Screen Time passcode on the child’s iPhone and follow the main steps above.
Other Reasons Accounts Are Grayed Out
- Work or school management: If the iPhone is supervised, a message at the top of Settings says so. Profiles from an employer or school are listed in Settings > General > VPN & Device Management, and tapping one shows what it controls. Apple’s page on supervised iPhones explains that your administrator sets these limits. An email account added by a work profile may have no Delete Account button; it goes away when the organization removes the profile. Ask your IT department before removing anything, because deleting a profile can also remove work mail, Wi-Fi, and apps.
- A restore in progress: On a newly set up iPhone, the Apple Account banner can stay grayed out while apps and data download from an iCloud backup. Keep the phone on Wi-Fi and power and check again when the restore finishes.
- A secondhand phone: If a used iPhone came with someone else’s Screen Time passcode or a company profile, only that person or organization can release it. There’s no supported way around it, and paid “unlock” tools can erase the phone. Contact the seller.
How to Undo the Change
To lock accounts again, go back to Settings > Screen Time > Content & Privacy Restrictions > Allow Changes to Settings > Accounts and choose Don’t Allow. Make sure a Screen Time passcode is set, or anyone can switch it back.
Grayed Out Account Questions
Can I turn off an email account instead of deleting it?
Yes, once accounts are no longer grayed out. Go to Settings > Apps > Mail > Mail Accounts, tap the account, and turn off Mail (or Use on this iPhone for iCloud). The account stays on the phone and you can turn it back on later. To remove it completely, follow the steps for logging out of Mail on iPhone.
Does deleting an email account delete my email?
It removes the account and its messages from the iPhone. Check your mail on the provider’s website first. For IMAP, iCloud, and Exchange accounts, mail stored on the provider’s server stays there and comes back when you add the account again.
Why can’t I sign out of my Apple Account either?
It’s the same restriction. Allow Accounts or turn off the Screen Time passcode, then follow how to sign out of your Apple Account on an iPhone.
Is the Screen Time passcode the same as my iPhone passcode?
No. Apple treats them as two separate codes. If you don’t know the Screen Time code, use the forgotten passcode steps above.
Once Add Account works again, you can add a mailbox such as Gmail on your iPhone.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.