コンテンツへスキップ
Jetpack

個別の製品

セキュリティ
VaultPress Backup Scan Akismet Anti-spam
パフォーマンス
サイト検索 Boost VideoPress
成長
Stats ソーシャル ニュースレター SEO Blaze CRM
管理
Manage モバイルアプリ

製品バンドル

Pro WordPressサイト向けのセキュリティ、パフォーマンス、成長支援ツールです。 完了 より高いサービス上限を備えたJetpackの全機能。
料金
概要 Jetpack AI がサイトにできること スキル エージェントに WordPress のスーパーパワーを ドキュメント AI エージェントの接続と設定 はじめに ChatGPT、Claude、コーディングエージェントを接続 比較 Jetpack と他の WordPress MCP コネクタの比較

エージェントを接続しよう。無料です。

ChatGPT や Claude を接続して、サイトの運営を任せましょう。有料プランは不要です。

ChatGPT 版を入手 (新しいタブで開きます) または Claude を使う (新しいタブで開きます)
サポート チームによるガイドとサポート ドキュメント Jetpack の各機能の使い方ガイド 機能リクエスト Request features and vote on ideas ブログ ニュース、製品の最新情報、使い方ガイド
概要
ログイン 始める
セキュリティ
VaultPress Backup Scan Akismet Anti-spam
パフォーマンス
サイト検索 Boost VideoPress
成長
Stats ソーシャル ニュースレター SEO Blaze CRM
管理
Manage モバイルアプリ

製品バンドル

Pro 完了
料金
概要 Jetpack AI がサイトにできること スキル エージェントに WordPress のスーパーパワーを ドキュメント AI エージェントの接続と設定 はじめに ChatGPT、Claude、コーディングエージェントを接続 比較 Jetpack と他の WordPress MCP コネクタの比較

エージェントを接続しよう。無料です。

ChatGPT や Claude を接続して、サイトの運営を任せましょう。有料プランは不要です。

ChatGPT 版を入手 (新しいタブで開きます) または Claude を使う (新しいタブで開きます)
サポート チームによるガイドとサポート ドキュメント Jetpack の各機能の使い方ガイド 機能リクエスト Request features and vote on ideas ブログ ニュース、製品の最新情報、使い方ガイド
概要 検索
ログイン 始める

ブログ / Jetpack 101

How to Change Your WordPress Password (5 Easy Ways)

Jen Swisher のアバター

Jen Swisher 8月 20, 2025 · 読了時間の目安: 6分


このページの内容

  1. TL;DR
  2. Why you may need to change your WordPress password
  3. 1. Use the “Lost your password?” feature
  4. 2. Change the password from the WordPress dashboard
  5. 3. Reset your password via phpMyAdmin
  6. 4. Changing the password via functions.php
  7. 5. Using WP-CLI to reset the password
  8. Final thoughts on securing your WordPress account
  9. Enhance your site’s security with Jetpack Security

読了時間の目安: 6分

Securing your WordPress password is crucial to protect your website from unauthorized access. Whether you forgot your password, suspect a security breach, or just want to update your credentials, there are several ways to change your WordPress password. This guide will walk you through five reliable methods.

TL;DR

  1. Use the lost password link when you can access the account email.
  2. Use Users > Profile to change your own password from the dashboard.
  3. Use Users > All Users to reset another user’s password only when you have administrator access and a valid reason.
  4. Use phpMyAdmin or WP-CLI only when normal login and email recovery are unavailable.
  5. Generate a long, unique password and store it in a password manager.
  6. Change related passwords after a compromise, including hosting, FTP, database, email, and connected services.
  7. Enable 2FA for administrators after resetting passwords.

Why you may need to change your WordPress password

There are several reasons you might need to reset your WordPress password:

  • You forgot your password: Perhaps you forgot your password and, therefore, can’t log into your website.
  • Your site was hacked: You might have recently experienced (and recovered from) a hack, or perhaps you suspect someone has gained unauthorized access to your site.
  • You’re performing routine security maintenance: Regularly updating passwords helps keep your site secure.
  • You’re transferring site access: You’re handing over the site to another person or team.

Now that we’ve explored some potential reasons for changing your password, let’s explore five ways to do so in WordPress.

1. Use the “Lost your password?” feature

This is the simplest method for resetting your password if you have access to the email associated with your WordPress account.

Steps:

  1. Go to your WordPress login page (e.g. yoursite.com/wp-admin).
  2. Click “Lost your password?” under the login form.
  3. Enter your username or email address.
  4. Click “Get New Password”.
  5. Check your email for a password reset link.
  6. Click the link and enter a new password.
  7. Confirm and save your changes.
WordPress login page with fields for username and password

Pros and cons:

  • ✅ Easy to use: There are no technical skills required.
  • ✅ Fast process: It only takes a few minutes.
  • ❌ Requires email access: You won’t be able to reset your password if you don’t have access to the email on your account.

2. Change the password from the WordPress dashboard

If you’re already logged into your WordPress site, you can update your password directly from your dashboard.

Steps:

  1. Navigate to Users → Profile in the sidebar.
  2. Scroll down to Account Management.
  3. Click Generate Password.
  4. Either use the suggested strong password or enter a custom one.
  5. Click Update Profile to save changes.
option to set a new password in the Account Management section in WordPress

Pros and cons:

  • ✅ No external tools needed. Everything is done directly within WordPress.
  • ✅ Quick process. It’s ideal if you still have dashboard access.
  • ❌ Requires login. This method won’t work if you’re locked out.

3. Reset your password via phpMyAdmin

If you don’t have access to your email or WordPress dashboard, phpMyAdmin provides a way to manually reset your password. The instructions below use cPanel. If your hosting provider has a different type of dashboard, review their documentation for steps.

Steps:

  1. Log into your hosting account and open cPanel.
  2. Navigate to phpMyAdmin under the Database section.
  3. Select your WordPress database from the left sidebar.
  4. Find and click the wp_users table (the prefix might vary).
  5. Locate your admin username and click Edit.
  6. In the user_pass field, select MD5 from the dropdown.
  7. Enter your new password.
  8. Click Save (Go).
editing fields in phpmyadmin

Pros and cons:

  • ✅ Works even if you’re locked out. There’s no need for email or dashboard access.
  • ❌ Requires hosting access. You must log into your hosting provider.
  • ❌ Database modification risk. If done incorrectly, changes may break your site.

4. Changing the password via functions.php

This method is useful if phpMyAdmin access is unavailable, but you can modify theme files.

Steps:

  1. Connect to your server via FTP or use your hosting file manager.
  2. Go to wp-content/themes/your-active-theme/.
  3. Open the functions.php file in a text editor.
  4. Add the following line at the end:
wp_set_password('YourNewPassword', 1);
  1. Replace YourNewPassword with a secure password, and 1 with the admin user ID.
  2. Save the file and upload it back to the server.
  3. Log into WordPress with the new password.
  4. Remove the added line from functions.php to prevent security risks.

Pros and cons:

  • ✅ Useful when other methods fail. This is a great backup method if the others listed here don’t work.
  • ✅ No database access required. You don’t need to log in to or access your database.
  • ❌ Requires FTP or file manager access. You’ll need to have familiarity or experience when it comes to working with website files.
  • ❌ Risk of site errors. If you don’t remove this line after logging in, this could create security vulnerabilities.

5. Using WP-CLI to reset the password

For advanced users with SSH access, WP-CLI offers a command-line method to reset passwords.

Steps:

  1. Access your server via SSH.
  2. Navigate to your WordPress installation directory.
  3. Run the following command:
wp user update 1 --user_pass=NewSecurePassword
  1. Replace 1 with the admin user ID and NewSecurePassword with your desired password.

Pros and cons:

  • ✅ Fastest method for advanced users. If you’re familiar with SSH, you can reset your password in seconds.
  • ✅ No need for an email or dashboard access. This is useful if your site is down or your account is inaccessible for any reason.
  • ❌ Requires SSH and WP-CLI installed. You’ll need both of these installed and configured in order to use this method.
  • ❌ Not suitable for beginners. You’ll need development and server management experience to use this method.

Final thoughts on securing your WordPress account

Changing your WordPress password is essential for maintaining security and control over your site. Whether you use the built-in password reset feature, phpMyAdmin, or WP-CLI, each method provides a way to regain access.

To take security one step further, follow these best practices:

  • Avoid weak passwords as they expose you to risks.
  • Use strong and unique passwords.
  • Enable two-factor authentication (2FA).
  • Regularly update WordPress, themes, and plugins.
  • Limit the number of admin accounts on your site.
  • Use a security plugin to monitor suspicious activity.

By implementing these techniques, you can address password-related challenges and maintain control over your WordPress site.

Enhance your site’s security with Jetpack Security

While changing your WordPress password is important, there are more steps you should take for a comprehensive security approach. Jetpack Security is the perfect, all-in-one solution to safeguard your site against a range of threat threats. Let’s take a look at a few of its features:

Real-time backups with Jetpack VaultPress Backup

Unexpected issues can occur at any time, but real-time backups can save the day! VaultPress Backup saves every change made to your site, from updated plugins and edited pages to WooCommerce orders. In the event of a problem, you can quickly revert to a previous version of your site.

Malware scanning and a web application firewall with Jetpack Scan

Jetpack Scan continually monitors your website for malware and security vulnerabilities. If any threats are detected, Jetpack Scan offers one-click fixes, enabling you to address issues promptly and maintain your site’s integrity. And with its web application firewall (WAF), it blocks malicious traffic before it even reaches your site. 

Spam protection with Akismet Anti-spam

Spam comments and form submissions can clutter your site and hurt the user experience. Akismet Anti-spam automatically filters out unwanted content, allowing genuine interactions to flourish. By eliminating spam, your site remains professional, safe, and engaging for visitors.

Additional security features

Jetpack Security also includes:

  • Brute force attack protection: Automatically block attempts to hack your site from known malicious attackers
  • Downtime monitoring: Notifies you instantly if your site goes down, allowing you to address issues before they affect your audience
  • An activity log: Provides a detailed record of site changes, helping you understand and manage changes and concerns

Jetpack Security equips your WordPress site with robust defenses against a wide range of threats, ensuring a secure and seamless experience for both you and your visitors.

いいね 読み込み中…
Jen Swisher のアバター

Written by

Jen Swisher

Jen is a Customer Experience Specialist for Jetpack. She has been working with WordPress and Jetpack for over a decade. Before starting at Automattic, Jen helped small businesses, local non-profits, and Fortune 50 companies create engaging web experiences for their customers. She is passionate about teaching others how to create on the web without fear.

サイトは私たちが守ります。
あなたはビジネスに集中できます。

Jetpack Security は、リアル‑タイムバックアップ、Web アプリケーションファイアウォール、マルウェアスキャン、スパム対策など、使いやすく包括的な WordPress サイトセキュリティを提供します。

サイトを保護する

Questions about this post? Ask in the support forum

シェア


Keep reading.

More from Jetpack 101, newest first.

すべての投稿を見る

Jetpack 101 3月 31, 2026

WordPress Image SEO: 12 Techniques to Rank Higher & Load Faster

Are images helping or hurt…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 14分

Jetpack 101 3月 26, 2026

WordPress Site Redirecting to Spam? Here’s How to Fix a Hacked Site

Uncover hidden malware, re…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 12分

Jetpack 101 3月 24, 2026

WordPress Form with File Upload: How to Create One in 3 Steps

How to create a secure fil…

Jen Swisher のアバター Jen Swisher 読了時間の目安: 5分

AI ファーストで WordPress サイトを運営しよう。

Free to start, and AI agents are free to connect. Money back within 14 days on yearly plans.

始める Jetpack を無料で入手

WordPress プラグイン

  • Akismet アンチスパム↗ (新しいタブで開きます)
  • Jetpack↗ (新しいタブで開きます)
  • Jetpack ブースト↗ (新しいタブで開きます)
  • Jetpack CRM↗ (新しいタブで開きます)
  • Jetpack プロテクト↗ (新しいタブで開きます)
  • Jetpack 検索↗ (新しいタブで開きます)
  • Jetpack ソーシャル↗ (新しいタブで開きます)
  • Jetpack VideoPress↗ (新しいタブで開きます)
  • VaultPress バックアップ↗ (新しいタブで開きます)
  • WP Super Cache↗ (新しいタブで開きます)
  • ダウンロード

AI

  • Jetpack AI
  • スキル
  • WordPress MCP

パートナー

  • パートナープログラム
  • おすすめのホスティング事業者
  • ホスティング事業者向け
  • 代理店向け
  • アフィリエイト向け

開発者

  • ドキュメント↗ (新しいタブで開きます)
  • ベータプログラム
  • GitHub の Jetpack↗ (新しいタブで開きます)

ヘルプ

  • ナレッジベース
  • フォーラム↗ (新しいタブで開きます)
  • レビューとお客様の声
  • お問い合わせ
  • Jetpack について
  • プレス
言語を選択 日本語
  • English
  • Deutsch
  • Español
  • Français
  • 日本語

© 2026 Automattic Inc. 無断転載を禁じます。

  • 利用規約↗ (新しいタブで開きます)
  • プライバシーポリシー↗ (新しいタブで開きます)
  • GDPR

によって心を込めて制作されています。

App Storeからダウンロード Google Playで入手
コメントを読み込み中…
  • リブログ
  • 定期購入 開始日
    Jetpack
    53,354人の購読者に加わりましょう

    WordPress.com のアカウントをお持ちですか ? 今すぐログインしてください。

  • Jetpack
    短縮リンクをコピーReader で投稿を表示
    購読管理登録ログイン
    このコンテンツを報告
    このバーを折りたたむ
%d