Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
30 Million+
Websites using our plugins
20+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Reset Your WordPress Database to Default Settings

Have you been experimenting with plugins, testing out themes, or importing demo content, and now your WordPress site feels cluttered or broken? It’s frustrating, especially when all you really want is a clean slate.

The good news? You don’t have to start from scratch. Resetting your WordPress database can quickly bring your site back to its default state, giving you a fresh foundation to work from.

In this guide, I’ll walk you through the safest and easiest way to reset your WordPress database—whether you’re troubleshooting, rebuilding, or simply ready for a fresh start.

How to Reset Your WordPress Database to Default Settings

Quick Answer: How to Reset Your WordPress Database

Install the free DB Reset Pro plugin, go to Tools » DB Reset Pro, type “reset” in the confirmation box, and click the Reset WordPress button. Your database resets to a fresh WordPress install in seconds — your files, themes, and plugins stay installed.

Why Reset WordPress Database to Default Settings?

A database reset wipes all your posts, pages, custom post types, user accounts (except the admin), comments, and plugin settings — while keeping all your WordPress files, themes, and plugins untouched.

  • Clean slate for testing: Start fresh when trying out new plugins or themes so existing settings don’t create conflicts.
  • Fix issues other methods can’t: When strange behavior persists after standard WordPress troubleshooting methods, a reset can clear corrupted or conflicting database data.

Step 1: Preparing a WordPress Backup Before Reset

The most important step before any database reset is creating a proper backup. Your WordPress database holds everything — from your posts and pages to plugin settings. Once it’s reset, there’s no going back.

I’ve tested dozens of backup plugins over the years, and Duplicator remains my go-to choice for reliable backups. We use it here at WPBeginner and on all our client sites because it’s both powerful and easy to use.

You can read our full review to learn more about what it offers.

Is Duplicator the right backup and migration plugin for you?

You can use the free Duplicator plugin to create a backup of your WordPress database. For step-by-step instructions, see our guide on how to make a WordPress database backup.

That guide also covers how to back up your database manually using the phpMyAdmin tool in your hosting provider’s dashboard.

✏️ Note: While Duplicator’s free version works great for basic backups, the Pro version is worth it for larger sites or scheduled backups.

Step 2: Resetting Your WordPress Database to Default Settings

Now that you have a backup, it’s time to reset your WordPress database. There are a few different options — here’s a quick comparison:

MethodSkill LevelBest For
DB Reset Pro PluginBeginnerMost users — quick, safe, one click
phpMyAdmin (manual)IntermediateWhen you can’t access the WordPress dashboard
WP-CLI (command line)AdvancedDevelopers with SSH access (wp db reset). Note: this empties the database rather than resetting to a default install, so you’ll need to reinstall and recreate the admin user afterward

I’m going to show you how to use the free DB Reset Pro plugin.

DB Reset Pro was built by the team behind Duplicator, trusted by millions of WordPress users. It resets your database in seconds, preserves your admin password so you don’t get locked out, and uses transaction support to ensure the reset either completes successfully or rolls back cleanly. There’s nothing to configure — just install, activate, and reset.

First, install and activate the DB Reset Pro plugin on your WordPress site. For detailed instructions, see our guide on how to install a WordPress plugin.

After activation, you’ll find a new DB Reset Pro entry under Tools » DB Reset Pro in your WordPress dashboard.

The DB Reset Pro Page in WordPress Admin

✏️ Important Note: Before proceeding, make sure you’re logged in as an administrator.

Access and Confirm Reset

When you open DB Reset Pro, you’ll see a simple interface with a confirmation box.

To proceed with the reset, type the word “reset” into the confirmation box. This extra security step makes sure you’re intentionally resetting your database.

In DB Reset Pro, Type'reset' and Click the Reset WordPress Button

When you click the Reset WordPress button, DB Reset Pro will:

  • Remove all posts
  • Clear all pages
  • Delete all comments
  • Remove custom post types
  • Clear out categories and tags
  • Remove plugin data from the database
  • Keep your admin account active

✏️ Note: Your WordPress files, themes, and plugins will remain installed. Only the database contents are affected.

After clicking the button, your database will be reset to its default state. The process takes just a few seconds.

Verify the Reset

After the reset completes, you’ll be automatically logged out of your WordPress site. Log back in using your admin credentials.

Log Back Into WordPress Using the admin Account

Once you’re logged in, here’s my post-reset checklist:

  1. Check Your Homepage: Visit your site’s front page. You should see a fresh WordPress installation with a sample “Hello World” post, no custom posts or pages, the default theme activated, and empty menu areas.
  2. Review WordPress Settings: Head to Settings » General to reconfigure your site title, tagline, timezone, and date format.
  3. Confirm Admin Access: Check that you can still access the WordPress dashboard, create new posts and pages, install and activate plugins, and customize your theme.

Best Practices and Tips

After the reset, you’ll need to handle a few setup tasks.

First, go to Settings » Permalinks to set up your permalinks. If you need help, see our guide on SEO-friendly URL structures in WordPress.

Next, rebuild your navigation menus by going to Appearance » Menus.

Reconfigure your essential plugins and add your site’s basic pages — like About, Contact, and Privacy Policy.

✏️ Note: Don’t forget to check your site’s SSL settings after the reset. Go to Settings » General to confirm your WordPress Address and Site Address use HTTPS.

Step 3: Restoring WordPress Database From Backup (Optional)

Sometimes things don’t go as planned with database resets. Last week, I helped one of my friends restore their site after a reset removed critical plugin settings. They had a backup ready, which made recovery simple.

You can follow our step-by-step guide on how to restore a WordPress site with just a database backup. Make sure you use the same method you used to create the backup.

Essential Checks After the Restore

Once the restoration is complete, run through these checks to confirm everything is working:

  1. Verify Your Login: Make sure you can log into your WordPress admin area. This confirms your user account was restored correctly.
  2. Check Your Content: Go to Posts » All Posts and Pages » All Pages. Look through the lists to confirm all your articles and pages are there.
  3. Test the Front End: Open your site in an incognito browser window to check the front end. This lets you see the site as a new visitor would and helps you spot any obvious issues.
  4. Confirm Plugin Settings: Check the settings page for your most important plugins — like your contact form and SEO plugin — to see if their configurations were restored.
  5. Review Menus and Widgets: Go to Appearance » Menus to check your navigation, then Appearance » Widgets to check your sidebar and footer areas.

Frequently Asked Questions

Will a database reset delete my WordPress files, themes, and plugins?

No. DB Reset Pro only resets the database. Your uploaded files, installed themes, and plugins remain on the server. All plugins are deactivated but can be reactivated after the reset.

How do I reset my WordPress database without a plugin?

You can reset manually using phpMyAdmin from your hosting control panel, or via WP-CLI with the command wp db reset. Keep in mind these aren’t drop-in equivalents of the plugin method: wp db reset drops all tables and leaves you with an empty database, so it does not recreate WordPress’s default content or preserve your admin account. You’ll need to run wp core install (or reinstall through the browser) afterward, then reconfigure your site.

See our phpMyAdmin guide for step-by-step instructions.

Is it safe to reset a live production WordPress site?

No — a database reset permanently deletes all content, posts, and plugin settings. It’s designed for development and staging environments. Always create a full backup first, and never reset a site with live content you want to keep.

Will I lose my admin account after a database reset?

No. DB Reset Pro preserves your admin account and password. You’ll be logged out during the reset process but can log back in with the same credentials right after.

What’s the difference between DB Reset Pro and WP Reset?

DB Reset Pro is a free plugin by the Duplicator team — it does one thing: a complete one-click database reset with transaction safety and password preservation. WP Reset is a separate plugin by WebFactory with selective reset options, database snapshots, and additional tools. DB Reset Pro is simpler and lighter if you just need a full reset.

More Helpful Resources on WordPress Databases

I hope this article helped you learn how to reset your WordPress database to default settings. Using DB Reset Pro has saved me hours of work when I need to start fresh with a WordPress site.

If you want to learn more about WordPress database management, these related articles may help:

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

46 CommentsLeave a Reply

  1. I have heard that our database will automatically take back up from our hosting.

    How do I find out where is my database backup file?

    • It would depend on your hosting provider for if they do that and where the backup would be located. If you reach out to your host they should be able to let you know!

      Admin

    • It’s different for every provider. Backups are usually available in an FTP folder, which is embedded there as a symlink to the backup server. Another option is in the form of a control panel, which is available for the website (but does not have to be). Another possibility is that backups are available from the service administration of your web hosting provider. And the last option is on request. This means that backups are not available, but the provider will provide them to you upon request, or, if it is better and has excellent customer support, it can restore the database directly from the backup. It’s more of a web provider question.

  2. Thanks for simplyfing the process, it may come in handy someday. Also remember that backup is crucial!

  3. Please if I choose to use the ADVANCE WP RESET plugins to backup my database, can I still use it to restore the database? Because I didn’t hear you mention it.
    And secondly please, if for instance I thing my wordpress site has been compromised can I use this method to remove the maliciouse codes?
    Thank you for considering this question.

  4. Isn’t it easier to delete the database content through PHPmyAdmin? After calling the domain or localhost, a reinstallation will take place, and everything should be reset. The data on FTP will remain, including the folder with plugins, which can simply be activated if necessary.

    Backup DB can be done also in PHPmyAdmin.

    • If you are comfortable with using the editing interface then you can use phpmyadmin’s interface but for most beginner users we would recommend the route from our article to prevent accidental deletion of something that they would want to keep :)

      Admin

      • I understand, sometimes I forget that you design your articles perfectly so that everyone can understand them. I found it easier to operate through the phpmyadmin interface, but you are right that not everyone has experience with it.

  5. hi there.. i see i face same issue as many others here.
    since i resat it all..i have and error while trying to get to my wordpress page : “Sorry, you are not allowed to access this page.”

    how to fix it up ???
    thanks.

  6. hey I wonder if I have a subdomain such as test.example.com and i reset the whole db with this tool. Will the DB for example.com stay untouched or will this also be resetted?
    Want to reset just the testpage so I can check a new theme but want to leave the live page untouched…
    thx

  7. I used the database reset on my site , and now I can’t log in. I think it’s because I deleted the wP-users file. I tried to change passwords but didn’t receive an email. How do I fix this..

  8. I used this plugin-in and after I reset everything, my site no longer exist. How do I get it back? I can’t get into my admin permissions.

  9. What option can i select so as to reset my WordPress without loosing my users, my plugins and my pages. Even if I loose my themes, I have no issue with it.

    Thanks a lot

  10. Will this delete original blog posts on Wordpress? I want to get rid of my duplicates but I do not want to lose my work :(

  11. After reading reams of information which might as well have been written in a foreign language, I came across this and it solved my problem beautifully. Thank you.

  12. Hi i have a problem that when i go to add new post my HTML and Text buttons are hidden and i cannot type my text so plz help me

  13. I have reset the wordpress. But now i cant visit my site iam worried if i click on my site its coming white empty pls help

  14. Apparently I am a complete idot and I just wiped my clients entire website. Nope, apparently not smart enough to create a back and it is due next week. First big project…I need help….ASAP!!!

  15. I have users reset with the plugin, now I can not login to wordpress.

    I get message
    “” You do not have enough rights for this page ‘

    Who can help me please

    thanx

  16. it worked .. but once signed out ..unable to login its nt accepting my current password or the 1st one :( ..

  17. Any chance this can be run from a cron job so it’s automated? I’m trying to setup a demo site and would like the content to be reset once an hour.

    On that note, any ideas on how to get the wordpress site to also delete any new images that were uploaded during that time?

    Thanks for your help!

  18. Hi, really cool post but I do have a question…will this affect my themes? I have some premium themes i don’t want to lose.

  19. Thanks for this! All the times before I used to make changes to the db and make anew install of wordpress…No more from now on

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.