Blocking a user from your personal account

You can block a user to deny them access to your activity and repositories, and to prevent them from sending you notifications.

About blocking users

You can block a user in your account settings or from the user's profile. GitHub will not notify the user when you block them. If you want to avoid contributing to the same project as someone you've blocked, you can choose to display a warning on any repositories with prior contributions from a blocked user. For more information, see "Blocking a user in your account settings." You may still see the activity of blocked users in shared spaces and blocked users can delete their existing content.

Tip: If you're blocking a user because of a heated conversation, consider locking the conversation so only collaborators can comment. For more information, see "Locking conversations."

When you block a user:

  • The user stops following you
  • The user stops watching and unpins your repositories
  • The user is not able to join any organizations you are an owner of
  • The user's stars and issue assignments are removed from your repositories
  • The user's votes on discussions or comments in your repositories are deleted
  • The user is removed as a collaborator on your repositories
  • The user's contributions to your repositories are no longer counted as contributions for them
  • Your contributions to the blocked user's repositories are no longer counted as contributions for you
  • You are removed as a collaborator on their repositories
  • Their sponsorship of you is cancelled
  • Any pending repository or account successor invitations to or from the blocked user are cancelled

After you've blocked a user, they cannot:

  • Send you any notifications, including by @mentioning your username
  • Comment on or edit issues or pull requests that you've created
  • React to your comments on issues, pull requests, and commits
  • Follow you or see your content in their activity feed
  • Assign you to issues or pull requests
  • Invite you as a collaborator on their repositories
  • Invite you as a collaborator on a security advisory
  • Cross-reference your repositories in comments
  • Fork, watch, pin, or star your repositories
  • Sponsor you

In repositories you own, blocked users also cannot:

  • Open issues
  • Send, close, or merge pull requests
  • Comment on issues, pull requests, or commits
  • Add or edit wiki pages

Blocking a user in your account settings

  1. En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración. Icono Settings (Parámetros) en la barra de usuario
  2. En tu barra lateral de configuración, da clic en Usuarios bloqueados. Pestaña de usuarios bloqueados
  3. Under "Block a user", type the username of the user you'd like to block, then click Block user. Username field and block button
  4. Optionally, to display a warning when you visit a repository where a blocked user is a contributor, select Warn me when a blocked user is a prior contributor to a repository. Warn about blocked users option

Blocking a user from their profile page

  1. Visita la página de perfil de usuario.
  2. En la barra lateral izquierda, debajo de la foto de perfil del usuario, da clic en Bloquear o reportar usuario. Enlace para reportar o bloquear usuario
  3. Click Block user. Modal box with options to block user or report abuse

Use Report abuse to contact us if you're being harassed. GitHub no tolera el abuso. Para más información sobre las políticas de GitHubconsulta nuestros Términos de Servicio y Pautas de la Comunidad.

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.