149

I want to change my account's user name on GitHub, but I can't find how to do it. Is this possible at all? To clarify, I'm not talking about the user.name parameter in a git repository, but the username of the actual GitHub account.

2 Answers 2

219

Yes, it's possible. But first read, "What happens when I change my username?"

To change your username, click your profile picture in the top right corner, then click Settings. On the left side, click Account. Then click Change username. See the pictures below: Settings

Change username

Confirm changing username

Type the new username

Confirm the new username

1
  • 1
    But keep in mind that, Links to your repositories will redirect to the new URLs, but they should be updated on other sites because someone who chooses your abandoned username can override the links. Links to your profile page will be 404's. Commented Aug 27, 2021 at 17:15
57

Yes, this is an old question. But it's misleading, as this was the first result in my search, and both the answers aren't correct anymore.

You can change your Github account name at any time.

To do this, click your profile picture > Settings > Account Settings > Change Username.

Links to your repositories will redirect to the new URLs, but they should be updated on other sites because someone who chooses your abandoned username can override the links. Links to your profile page will be 404'd.

For more information, see the official help page.

And furthermore, if you want to change your username to something else, but that specific username is being taken up by someone else who has been completely inactive for the entire time their account has existed, you can report their account for name squatting.

5
  • I don't understand. Didn't Sapan say to click the same thing?
    – johnny
    Commented Jan 10, 2018 at 20:11
  • 5
    @johnny, taking a look at the April 9, 2015 snapshot of this page on web.archive.org reveals that there were not one, but two answers at the time of my post, and that Sapan's answer was different. It was changed in response to a comment left by codefl0w.
    – hpm
    Commented Jan 14, 2018 at 23:56
  • 8
    FYI, you can click on 'edited [date]' to see an edit history, rather than digging into an archive.
    – Rob Hogan
    Commented Feb 10, 2018 at 18:37
  • @hyperum Can you elaborate on the "account for name squatting." ? What is the process of doing this if somene has a username that doesn't have any activity ?
    – thanos.a
    Commented Dec 15, 2019 at 12:27
  • 2
    @thanos.a If you are sure the account is inactive with the username that you desire, go ahead and contact GitHub Support at support.github.com/contact. When I did the same to get my current username, they sent me back an email informing me that the account was removed and that I was free to take their username as a result.
    – hpm
    Commented Dec 15, 2019 at 12:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.