Open In App

WordPress Reset Password

Last Updated : 22 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Forgetting your WordPress password can be frustrating, but don't worry—regaining access is easier than you might think. Whether you have access to your email or not, we’ve covered you with two straightforward methods to reset your password and get back into your WordPress site. According to recent surveys, about 20% of users encounter password-related issues with their websites, so you're not alone.

Here, we will walk you through the steps of resetting your WordPress password using email and, for those without email access, by manually changing it via the database.

How to Reset Your WordPress Password: Step-by-Step Guide

We will cover two methods to help you log back into your WordPress site if you've forgotten your password:

  1. Resetting the password with email access.
  2. Resetting the password without email access.

Method 1: Resetting Your Password with Email Access

If you still have access to the email associated with your WordPress account, resetting your password is quick and easy. Here’s what you need to do:

1. Go to the WordPress Login Page: Open your website's login page, typically found at yourdomain.com/wp-login.php.

2. Click “Lost your password?”: You’ll see a link below the login form that says "Lost your password?"—click on it.

WordPress Login Panel

3. Enter Your Username or Email Address: On the next page, enter your WordPress username or the email address associated with your account, then click “Get New Password.”

enter-username-reset-wordpress-password

4. Check Your Email: You'll receive an email with a link to reset your password. Follow the instructions in the email to create a new password and regain access to your site.

Resetting the WordPress site password without E-mail access: 

If you can’t access the email address linked to your WordPress account, you’ll need to reset your password directly through your website’s database using phpMyAdmin. This method requires access to your hosting control panel. Here's how:

1. Log into Your Hosting Control Panel (cPanel/hPanel): Go to your hosting provider's control panel and find phpMyAdmin, which is typically located under the "Databases" section.

2. Select Your WordPress Database: In phpMyAdmin, locate and click on your WordPress database in the left sidebar. The database name might be different but usually contains 'wp' or a custom prefix (e.g., varunwp).

3. Open the Users Table: Look for a table named wp_users (or similar, depending on your prefix). Click on it to view the list of users.

4. Edit Your User Account: Find the user account you need to reset (usually your admin account). Click “Edit” next to that user.

edit-row-mysql-phpmyadmin

5. Change the Password: In the user_pass field, enter your new password. IMPORTANT: Select “MD5” from the drop-down menu next to the password field. This ensures that WordPress correctly encrypts the new password.

changing-password-wordpress-mysql

6. Save Your Changes: Scroll down and click “Go” to save your changes. You can now log in to your WordPress site with your new password.

click-go

Conclusion 

If you can receive emails, use the "Lost your password?" link for a simple reset through your email. If you don’t have email access, directly editing your password through phpMyAdmin in your database offers a reliable alternative.

Also Read:


Next Article

Similar Reads

  翻译: