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

Webdesign & UX

Excel Zellen markieren bis Ende: Die schnellsten Methoden für sauberes Arbeiten

AUTOR • Oct 14, 2026
Frontend-Entwicklung

MRGN verstehen: Bedeutung, Ansteckung, Behandlung und Schutz einfach erklärt

AUTOR • Oct 12, 2026
Webdesign & UX

ASCII Zeilenumbruch: So funktioniert der Zeilenumbruch im ASCII-Format

AUTOR • Oct 12, 2026
Frontend-Entwicklung

Strg+F5 erklärt: Unterschied zu F5, Hard Reload und Cache neu laden

AUTOR • Oct 11, 2026
Webdesign & UX

Bau Simulator Mod: So holst du mehr aus dem Spiel heraus

AUTOR • Oct 10, 2026
Webdesign & UX

Was ist haptisches Feedback? Einfach erklärt mit Beispielen, Vorteilen und Einsatzbereichen

AUTOR • Oct 10, 2026
Webdesign & UX

Photoshop Bild vergrößern ohne Qualitätsverlust: So skalierst du Bilder sauber und scharf

AUTOR • Oct 09, 2026
Frontend-Entwicklung

Adresszeile richtig ausfüllen: Was in Adresszeile 1 und 2 gehört

AUTOR • Oct 09, 2026
DevOps & Deployment

Android 14 installieren auf altem Handy: So prüfst du Chancen, Risiken und Alternativen

AUTOR • Oct 09, 2026
Frontend-Entwicklung

How to Embed YouTube Videos with Privacy Settings: So machst du es richtig

AUTOR • Oct 09, 2026
Performance & SEO

Optimal Website Performance SEO Checker: Der Audit-Guide für bessere Rankings

AUTOR • Oct 09, 2026
Webdesign & UX

Outlook Symbol Übersicht: Alle wichtigen Symbole in Outlook schnell verstehen

AUTOR • Oct 07, 2026
Webdesign & UX

Autofill KeePass einrichten: So funktioniert automatisches Ausfüllen sicher und schnell

AUTOR • Oct 05, 2026
Backend-Entwicklung

Domain Crawler: So findest du SEO-Probleme schneller, sauberer und skalierbar

AUTOR • Oct 04, 2026
Backend-Entwicklung

PHP Password: Sicher Passwörter in PHP speichern, prüfen und schützen

AUTOR • Oct 02, 2026
DevOps & Deployment

Windows 7 ohne Aktivierungsschlüssel aktivieren: Was wirklich geht und was nicht

AUTOR • Oct 01, 2026
DevOps & Deployment

Gerät Netzwerk anzeigen CMD: So findest du Netzwerkgeräte am PC in Sekunden

AUTOR • Sep 29, 2026
Backend-Entwicklung

PHP OIDC: So baust du OpenID Connect sauber in deine PHP-App ein

AUTOR • Sep 28, 2026
Webdesign & UX

Fully Kiosk Browser mit Home Assistant auf Deutsch einrichten: So machst du aus jedem Tablet ein smartes Display

AUTOR • Sep 28, 2026
Webdesign & UX

Warum Apps nicht funktionieren: Die häufigsten Ursachen und wie du sie löst

AUTOR • Sep 27, 2026

Beliebte Beiträge

Performance & SEO

Die besten kostenlosen Audio CD MP3 Converter: Musik in Höchstform

AUTOR • Jul 03, 2025
APIs & Microservices

Alles was du über NAT IP wissen musst: Vorteile, Funktionen und Einsatzmöglichkeiten

AUTOR • Jul 02, 2025
DevOps & Deployment

Die Macht von Bash: Mit 'for i in seq' Schleifen effizient nutzen

AUTOR • Jul 02, 2025
Performance & SEO

Der komplette Leitfaden zum Erstellen eines Microsoft Kontos für Minecraft

AUTOR • Jul 01, 2025
Backend-Entwicklung

Der Wertebereich von Double – Alles was du wissen musst

AUTOR • Jun 27, 2025
Performance & SEO

Sicher und effizient im Internet surfen: Deine umfassende Anleitung

AUTOR • Jun 25, 2025
Webdesign & UX

So zeigen Sie versteckte Dateien unter Windows 7 an – Eine Schritt-für-Schritt-Anleitung

AUTOR • Jun 24, 2025
DevOps & Deployment

Schritt-für-Schritt-Anleitung: HP DeskJet 4110e Wlan verbinden

AUTOR • Jun 23, 2025
APIs & Microservices

File HTTP: Alles, was du wissen musst, um Dateien effizient zu übertragen

AUTOR • Jun 19, 2025
Webdesign & UX

Dokument Einfügen in Word: So gelingt’s problemlos

AUTOR • Jun 18, 2025
Backend-Entwicklung

Top Email Forwarding Plugins for WordPress That You Should Consider

AUTOR • Jun 16, 2025
Frontend-Entwicklung

Entschlüsselung des Begriffs: Was ist 'ref'?

AUTOR • Jul 10, 2025
Backend-Entwicklung

First oder Logic: Die Bedeutung von Entscheidungstechniken in der Softwareentwicklung

AUTOR • Jul 08, 2025
Datenbanken & ORM

Effiziente String-Konkatenation in PostgreSQL: So funktioniert's!

AUTOR • Jul 03, 2025
Full-Stack

Arithmetisches Mittel: Die Grundlagen und Anwendungen

AUTOR • Jul 03, 2025
Datenbanken & ORM

Postgres nicht gleich: Warum die Wahl des richtigen Datenbankmanagementsystems entscheidend ist

AUTOR • Jul 03, 2025
Full-Stack

Scatterplots in R: Grafikvisualisierung für Datenanalyse leicht gemacht

AUTOR • Jul 03, 2025
Performance & SEO

Wie man ein Dropdown-Menü für Daten in Excel erstellt

AUTOR • Jul 01, 2025
APIs & Microservices

Seitenkanal Angriff: Alles, was Sie wissen müssen um Systeme zu schützen

AUTOR • Jul 01, 2025
Full-Stack

Alles, was du über Teamspeak 5 Server wissen musst: Aufbau, Vorteile und Tipps

AUTOR • Jun 29, 2025