Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Disable Gravatars in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Disable Gravatars in WordPress

Avatar allow users to give their online profiles an instantly identifiable persona. WordPress uses Gravatars as the default avatar platform. It allows WordPress users to have the same avatar displayed on any gravatar enabled website. However, in some cases you may not want to display gravatars on your WordPress site. In this article, we will show you how to disable gravatars in WordPress.

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is log in to your WordPress site and go to Settings » Discussion. Scroll down to the Avatars section and uncheck the box next to ‘Show Avatars’ option. You will need to click on the Save Changes button to store your settings.

Uncheck Show Avatars to disable gravatar in WordPress

That’s all you have successfully disabled Gravatar on your WordPress site. Your comments will not show user gravatars. You will also not see gravatars anywhere in WordPress admin area. User gravatars will not appear on Comments and Users screen, your gravatar from WordPress admin bar will also disappear.

Gravatar free WordPress Backend

Even though you have disabled gravatar on your WordPress site, you can still show them selectively if you need. For example, you can display gravatar in author info box, or display gravatar from user email anywhere on your site.

We hope this article helped you disable gravatar on your site.

If you liked this article, then subscribe to our YouTube Channel or catch us on Twitter.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. WPBeginner Staff says:

    How to display gravatars with user email in WordPress

  2. Alex says:

    I have successfully disable gravatars, but would like my gravatar to be displayed in the author info box. How can I accomplish this?

  3. WPBeginner Staff says:
  4. Manuel Echeverry says:

    how do you allow people to choose customs avatars?

  5. Wil Ransz says:

    Instead of dabbling with PHP, you could simply hide the avatar by adding the following CSS at the end of the stylesheet:

    .comment-author .avatar {
    display: none;

    • WPBeginner Support says:

      That’s possible. However, the gravatar will still be visible to crawlers. One reason that some users may not want gravatar could be that they are building something where they simply don’t need it.

  6. Zimbrul says:

    Is that possible to replace the Gravatar with another generic icon when the person commenting has got no Gravatar?

  7. Dave Navarro says:

    This disables WordPress from showing Avatars, but it does NOT disable Gravatar. On the back end, it still calls home to Gravatar slowing your site down.

    What’s needed is the ability to rip Gravatar out of WordPress.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.