FREE tools

Mastering the Reset: How to Reset WordPress Admin Password in Minutes

Lukas Fuchs vor 1 Jahr Webdesign & UX 3 Min. Lesezeit

If you've forgotten your WordPress admin password, don’t panic! This guide offers quick and straightforward methods to regain access to your site.

Why You Might Need to Reset Your WordPress Admin Password

Forgetting the admin password of your WordPress site can be frustrating, but it's a common issue. Whether you’ve just started your WordPress journey or you’ve been managing your site for years, there are different reasons you may need to reset your password, such as:

  • You simply forgot your password.
  • Your password was compromised.
  • You’re managing a site for someone else and need a new password.

1. How to Reset WordPress Admin Password via the Login Page

WordPress provides an easy way to reset your password directly from the login page. Here’s how to do it:

  1. Go to your WordPress login page (usually yoursite.com/wp-admin).
  2. Click on the Lost your password? link.
  3. Enter your username or email address associated with your account.
  4. Check your email for a reset link. Follow the link provided in the email.
  5. Enter and confirm your new password. Click on Reset Password.

If you don’t receive the email, check your spam folder and ensure your registered email address is correct.

2. Resetting WordPress Admin Password via phpMyAdmin

If you can’t access your email or the login page, you can reset your password using phpMyAdmin. This method is ideal for experienced users who have database access:

  1. Log in to your hosting control panel (like cPanel or Plesk).
  2. Navigate to phpMyAdmin under the databases section.
  3. Select the WordPress database from the left sidebar.
  4. Locate the wp_users table (the prefix might differ if you changed it during installation).
  5. Find your admin username in this table and click on the Edit link.
  6. Under the user_pass field, select MD5 from the function dropdown.
  7. In the Value field, type in your new password.
  8. Hit the Go button to save your changes.

You can now log in with your new password!

3. Resetting the WordPress Admin Password via FTP

If all else fails, you can reset your password through FTP by adding a code to your theme’s functions.php file:

  1. Connect to your site using an FTP client (like FileZilla).
  2. Navigate to /wp-content/themes/your-active-theme/.
  3. Open the functions.php file for editing.
  4. Add the following code at the end of the file:
  5. function reset_admin_password() {
        $user = 'admin'; // change this to your username
        $pass = 'new_password'; // change to your new password
        if (username_exists($user)) {
            $user_id = username_exists($user);
            wp_set_password($pass, $user_id);
        }
    }
    add_action('init', 'reset_admin_password');
    
  6. Save the file and upload it back to your server.
  7. Visit your site once to execute the code and reset the password.
  8. Remove the added code from the functions.php file after successfully logging in to avoid security risks.

4. Using a Password Recovery Plugin

For users who want a more straightforward approach, installing a password recovery plugin can be helpful. Popular plugins like WP Reset and Password Protected add recovery options directly to your WordPress admin dashboard.

  1. Install and activate the chosen plugin.
  2. Follow the plugin’s specific instructions for resetting your password.

5. Preventive Measures for the Future

Once you regain access to your admin account, consider implementing the following practices to avoid future password issues:

  • Enable two-factor authentication for added security.
  • Create a password manager to store and manage your passwords securely.
  • Regularly update your passwords and avoid using simple or default passwords.

Conclusion

Resetting your WordPress admin password doesn’t have to be a headache. Whether you use the built-in recovery options, phpMyAdmin, FTP, or a password recovery plugin, you can easily regain access to your site. By following the preventive measures after resetting your password, you can reduce the chances of future issues. Keep your site secure and always remember to create strong, unique passwords!

Weitere Beiträge

Folge uns

Neue Beiträge

Datenbanken & ORM

Text digitalisieren: So wandelst du Papier, PDFs und Fotos in bearbeitbaren Text um

AUTOR • Jul 05, 2026
Frontend-Entwicklung

WordPress Layout Plugins: Die besten Tools für flexible Seitenlayouts ohne Coding

AUTOR • Jul 05, 2026
Frontend-Entwicklung

Social Share Plugin for WordPress: So wählst du das richtige Tool ohne Ladezeit zu killen

AUTOR • Jul 05, 2026
Backend-Entwicklung

Zygisk Detach: So funktioniert es, Vorteile, Risiken und die richtige Anwendung

AUTOR • Jul 05, 2026
Webdesign & UX

Excel Nummerierung einfügen: So erzeugst du saubere laufende Nummern in Sekunden

AUTOR • Jul 05, 2026
Performance & SEO

Word STRG+F Fett suchen: So findest du Text schnell und markierst ihn sauber

AUTOR • Jul 05, 2026
Webdesign & UX

Thunderbird Google Kalender synchronisieren: So klappt der Abgleich ohne Chaos

AUTOR • Jul 05, 2026
Webdesign & UX

SUMIF in Google Sheets: So berechnest du Werte nach Bedingungen schnell und sauber

AUTOR • Jul 05, 2026
Webdesign & UX

Microsoft Word Silbentrennung: So aktivierst und kontrollierst du sie richtig

AUTOR • Jul 05, 2026
Webdesign & UX

PDF Seiten nummerieren: So fügst du Seitenzahlen schnell und sauber hinzu

AUTOR • Jul 05, 2026
Webdesign & UX

VSCode Regex: So suchst, ersetzt und automatisierst du schneller

AUTOR • Jul 05, 2026
Webdesign & UX

Adobe Express Hintergrund entfernen: So klappt es schnell, sauber und ohne Umwege

AUTOR • Jul 05, 2026
Webdesign & UX

Überschriebene Datei wiederherstellen: So rettest du gelöschte Versionen schnell und sauber

AUTOR • Jul 05, 2026
Frontend-Entwicklung

Visual Studio Alternative: Die besten Optionen für schnelleres, leichteres Coden

AUTOR • Jul 05, 2026
Backend-Entwicklung

IP-Adresse und Name herausfinden: So findest du Geräte im Netzwerk schnell

AUTOR • Jul 04, 2026
DevOps & Deployment

AWS Kubernetes: So setzt du Kubernetes auf AWS richtig ein und vermeidest teure Fehler

AUTOR • Jul 04, 2026
DevOps & Deployment

Office auf Mac installieren: So klappt die Installation schnell und sauber

AUTOR • Jul 04, 2026
Webdesign & UX

Excel Zeilen löschen Shortcut: So sparst du in Sekunden Zeit bei der Tabellenarbeit

AUTOR • Jul 04, 2026
Webdesign & UX

Rahmen im Word-Dokument erstellen: So setzt du Word-Rahmen sauber und schnell um

AUTOR • Jul 04, 2026
Webdesign & UX

Outlook Deutsch: So richtest du Outlook auf Deutsch ein und nutzt es effizient

AUTOR • Jul 04, 2026

Beliebte Beiträge

Webdesign & UX

WordPress Tags Vs Categories: Understanding the Essentials for Effective Blog Organization

AUTOR • Jan 08, 2024
Webdesign & UX

The Benefits of Purchasing a CSS Hero Plugin

AUTOR • Dec 10, 2023
Webdesign & UX

Best WordPress Community Plugins

AUTOR • Sep 30, 2023
Webdesign & UX

WPdeveloper - A Lifetime Deal For WordPress

AUTOR • Mar 20, 2023
Webdesign & UX

AppSumo Review - Is AppSumo Better Than ACF?

AUTOR • Mar 20, 2023
Performance & SEO

What Can an Organic Ad Agency Do For You?

AUTOR • May 20, 2022
Webdesign & UX

Free LMS Plugin For WordPress

AUTOR • May 20, 2022
Webdesign & UX

Top 5 Navigation Plugins For WordPress

AUTOR • May 20, 2022
Performance & SEO

How to Fix a Broken Web Link Number

AUTOR • May 20, 2022
Performance & SEO

The Importance of SEO Audits

AUTOR • May 20, 2022
Backend-Entwicklung

Effektive Nutzung von 'if' in PHP: Tipps und Tricks

AUTOR • Sep 27, 2024
APIs & Microservices

Fira Autor: Ein umfassender Leitfaden zu einer revolutionären Plattform

AUTOR • Jul 28, 2025
Backend-Entwicklung

Effizientes Schleifen in Python: So meistern Sie Iterationen

AUTOR • Jul 16, 2025
DevOps & Deployment

Subnetting leicht gemacht: Ein praktisches Beispiel zur Veranschaulichung

AUTOR • Jul 15, 2025
DevOps & Deployment

Cutover: Der Schlüssel zu einer erfolgreichen Übergangsstrategie in IT-Projekten

AUTOR • Jul 09, 2025
Datenbanken & ORM

Effiziente SQL-Abfragen für mehrere Werte: So gelingt's!

AUTOR • Jul 08, 2025
Backend-Entwicklung

Effiziente Datenverarbeitung: Der Java For Each Loop für ArrayLists

AUTOR • Jul 08, 2025
Webdesign & UX

Outlook Lesebereich aktivieren: So nutzen Sie ihn optimal

AUTOR • Jul 04, 2025
Performance & SEO

So zählen Sie Text in Excel-Zellen effektiv – Schritt-für-Schritt-Anleitung

AUTOR • Jul 01, 2025
Webdesign & UX

Effizient Arbeiten mit Excel: So erkennst du leere Zellen schneller

AUTOR • Jul 01, 2025