WordPress Asking for FTP Credentials to Update Plugins

You click Update or Install and WordPress shows a "Connection Information" box asking for FTP details. It is not a hack or a broken site — WordPress simply does not have permission to write its own files.

Common signs of this issue

Safe checks you can do yourself

None of these require sharing passwords with anyone.

What this usually means

Before WordPress installs or updates anything, it checks whether it can create files in its own folders as the same user that owns them. If it can't, it falls back to asking you for FTP details so it can log in and write the files that way. The Connection Information box is that fallback. It is a WordPress feature, not an error message, and it has been there for many years.

On almost all modern shared and managed hosting, this check passes and the box never appears. When it does appear, the usual reason is that the site's files are owned by a different user than the one PHP runs as — often after a migration, a restore from backup, or files copied over by hand as a different user. Overly tight folder permissions are the other common cause.

This matters because a site that cannot update itself falls behind on security fixes without anyone noticing. Out-of-date plugins are one of the main ways small business WordPress sites get hacked. The right fix is to correct ownership on the server so updates work normally again, not to keep typing passwords into the box every time.

What not to do

When to get help

If your host says permissions are fine but the box keeps appearing, or you run your own server and nobody is sure who set it up, it is worth bringing in a developer. Fixing file ownership properly is usually a short job for someone with server access, and it restores automatic updates without loosening security. It is also sensible to get help if plugins have been stuck for a long time — someone can update them safely, ideally on a staging copy first, and check nothing breaks along the way.

Not sure what to do next?

Answer a few short questions and we'll point you to the safest next step — DIY, a freelancer, or a direct review. No passwords required.

Is this a business website? If this issue may be costing you leads, sales, or trust, you may want a direct review instead of trial and error.

Frequently asked questions

Why is WordPress asking for FTP credentials?

Because it cannot write to its own folders directly. Before an update, WordPress checks whether it owns its files; if it doesn't, it asks for FTP details so it can write them another way.

Is it safe to enter my FTP details in that box?

It is a genuine WordPress screen, so typing your own SFTP details on your own admin page is not dangerous in itself. But it is a workaround. The proper fix is for your host to correct file ownership so the box stops appearing.

What does FS_METHOD direct do?

It tells WordPress to skip its ownership check and write files directly. It only works when the server already allows that, and it can mask a real permissions problem, so have your host or developer check ownership first.

Why did this start after I moved hosts?

Files copied during a migration are often owned by a different user than the one the new server runs PHP as. Your host can reset the ownership in a few minutes.

Can I still use my site while this is happening?

Yes. Visitors see nothing different and you can still edit content. You just can't install or update plugins, themes, or WordPress until it is fixed.

Should I change permissions to 777 to fix it?

No. That makes your files writable by anyone on the server and is a serious security risk. Ask your host to fix ownership instead.

Related free guides

WordPress site down?

Seeing “There has been a critical error on this website”?

Our guided repair tool logs in over secure FTPS and fixes the most common WordPress failures — safely, with every change backed up and reversible. Start with a free scan, no password needed.

Fix My WordPress Site → Free scan · No download of your site · Reversible