Are letters with diacritics allowed in macOS Ventura usernames and passwords?

Can you use letters with diacritics, e.g. — é è ü î ç, in French, Spanish and German — in usernames and passwords?


[Re-Titled by Moderator]

iMac 27″ 5K

Posted on Feb 28, 2025 2:49 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 28, 2025 4:09 PM

The default password policy for MacOS accounts is simply 4 or more characters. There are no restrictions on what those characters must be (e.g. alpha, numeric, symbolic, diacriticals, etc.). You could literally have 4 spaces if you want.


However, there is one caveat. The GUI interface via System Settings for setting user passwords does not allow multi-keystroke characters to be typed in. For example, while ç (option-c), and å (option-a) are valid since they're a single keystroke combination, ñ, é, and î are not since they require multiple keystrokes (e.g. option-i for the circumflex followed by the i it is applied to).


These characters can still be used, but you need to type them elsewhere and paste them into the Change Password field in System Settings to actually apply them.

14 replies
Sort By: 
Question marked as Top-ranking reply

Feb 28, 2025 4:09 PM in response to LupaCapitolina

The default password policy for MacOS accounts is simply 4 or more characters. There are no restrictions on what those characters must be (e.g. alpha, numeric, symbolic, diacriticals, etc.). You could literally have 4 spaces if you want.


However, there is one caveat. The GUI interface via System Settings for setting user passwords does not allow multi-keystroke characters to be typed in. For example, while ç (option-c), and å (option-a) are valid since they're a single keystroke combination, ñ, é, and î are not since they require multiple keystrokes (e.g. option-i for the circumflex followed by the i it is applied to).


These characters can still be used, but you need to type them elsewhere and paste them into the Change Password field in System Settings to actually apply them.

Reply

Mar 2, 2025 3:28 PM in response to Tom Gewecke

Tom Gewecke wrote:

Odd! Tried it on my 15.3.1 test install, and it still works. No problem with é in the login name or password, but only e accepted in the name of the system username.

I tried it again and it's working for me too. I wasn't having a good day yesterday.


But it's a really a moot point. Attempting to use non-ASCII (or ASCII "special" characters) in a user name or especially a password is very bad idea. Such characters can be represented in different ways, always out of control of the user. Apple does seem to support it in one specific situation. But is that going to work at system startup? There are a lot of edge cases to consider.

Reply

Mar 2, 2025 9:30 AM in response to LupaCapitolina

LupaCapitolina wrote:

Very interesting. What is "Canadian CSA"?

It's an Input Source you can find in the "French" category of MacOS which has a qwerty layout and top level keys producing ù, à, è, é, ç


Write in another language on Mac - Apple Support



Would you have to change your primary language in System Settings before shutting down or rebooting?

No.


Reply

Mar 1, 2025 4:31 PM in response to etresoft

etresoft wrote:



Or whether on other language layouts (Spanish has an ñ key, Canadian French has keys for ù, à, è, é ) those will work ok?
They will not.

I tested this on my Sonoma install, and was in fact able to create a new account with a password containing é when using the Canadian CSA input source which has a key devoted to that character.

Reply

Mar 1, 2025 4:41 AM in response to Camelot

Camelot wrote: However, there is one caveat. The GUI interface via System Settings for setting user passwords does not allow multi-keystroke characters to be typed in. For example, while ç (option-c), and å (option-a) are valid since they're a single keystroke combination, ñ, é, and î are not since they require multiple keystrokes (e.g. option-i for the circumflex followed by the i it is applied to).

Do you know of any reference from Apple or elsewhere which lays this out? I'm wondering whether the Accent Menu (accented characters via press and hold) can be used when characters need more than one key stroke? Or whether on other language layouts (Spanish has an ñ key, Canadian French has keys for ù, à, è, é ) those will work ok?


Reply

Mar 1, 2025 5:27 AM in response to Tom Gewecke

Tom Gewecke wrote:

I'm wondering whether the Accent Menu (accented characters via press and hold) can be used when characters need more than one key stroke?

It cannot.


Or whether on other language layouts (Spanish has an ñ key, Canadian French has keys for ù, à, è, é ) those will work ok?

They will not.

Reply

Mar 2, 2025 8:03 AM in response to etresoft

etresoft wrote:


Tom Gewecke wrote:

I tested this on my Sonoma install, and was in fact able to create a new account with a password containing é when using the Canadian CSA input source which has a key devoted to that character.
I couldn't do that on Sequoia.

Odd! Tried it on my 15.3.1 test install, and it still works. No problem with é in the login name or password, but only e accepted in the name of the system username.

Reply

Are letters with diacritics allowed in macOS Ventura usernames and passwords?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.