WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Fix 503 Service Unavailable Error in WordPress

How to Fix 503 Service Unavailable Error in WordPress

Last updated on September 19th, 2017 by Editorial Staff
172 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Fix 503 Service Unavailable Error in WordPress

Are you seeing a 503 service unavailable error in WordPress? The problem with the 503 error is that it gives no clues about what’s causing it which makes it extremely frustrating for beginners. In this article, we will show you how to fix the 503 service unavailable error in WordPress.

Fixing 503 service unavailable error in WordPress

What Causes 503 Service Unavailable Error in WordPress?

All WordPress hosting companies offer fixed amount of resources for each hosting account. For websites on shared hosting, this limit cannot handle heavy usage of server resources.

The 503 service unavailable error occurs when your web server is unable to get a proper response from a PHP script. This PHP script could be a WordPress plugin, a theme, or a misbehaving custom code snippet.

If the error is caused by heavy usage, a server glitch, or a DDoS attack, then it could automatically disappear in a few minutes.

However, if it is caused by bad code on your website, then it will keep occurring unless you find and disable the code that’s causing it.

That being said, let’s take a look at how to easily fix 503 service unavailable error in WordPress.

Fixing 503 Service Unavailable Error in WordPress

As we mentioned above that this error is caused when your web server is unable to get a proper response from a PHP script running in the background.

To fix it, we will disable all unnecessary PHP scripts one by one until the error is resolved.

Let’s get started.

Deactivate All WordPress Plugins

All your WordPress plugins are PHP scripts, so first you need to deactivate all your WordPress plugins.

Since you cannot login to your WordPress dashboard due to the 503 error, you will need to connect to your website using a FTP client or File Manager in cPanel. Once connected, go to /wp-content/ folder and rename the plugins folder to plugins-old.

Rename plugins folder

Next, you need to create a new folder and name it plugins.

Now you need to visit your WordPress site to see if this resolved the error.

If it did, then this means a plugin installed on your website was causing the error. The above steps have deactivated all WordPress plugins.

To figure out which plugin was causing the issue, you need to switch back to your FTP client or file manager in cPanel. Next, you need to go to /wp-content/ folder and delete the empty plugins folder.

Delete empty plugins folder

After that you need to rename the plugins-old folder to plugins. This will make all your previously installed plugins available to WordPress. However, these plugins will remain deactivated.

You need to visit the WordPress admin area and then go to the plugins page. You can activate your plugins one by one and visit different pages on your website after activating each plugin. Keep doing that until you find the plugin causing the 503 error.

If this step resolved your issue, then you don’t need to follow rest of the instructions on this page. Otherwise, you can move on to the next step.

Switch to a Default WordPress Theme

If deactivating plugins didn’t resolve the issue, then the next step would be to switch to a default WordPress theme. This will deactivate your current WordPress theme.

First, you need to connect to your WordPress site using an FTP client or File Manager in cPanel. Once connected, go to /wp-content/themes/ folder.

Download your current WordPress theme

Locate your currently active WordPress theme and download it to your computer as backup.

After downloading your theme, you can go ahead and delete it from your website

Now, if you already have a default theme like Twenty Seventeen or Twenty Sixteen installed, then it will be automatically activated. If you don’t, then you can go ahead and install a default theme on your website.

Thoroughly check your website to make sure that 503 service unavailable error is resolved.

Troubleshooting

If both methods fail to resolve the error, then you can take the following steps:

  • Contact your WordPress hosting company because they may be able to pin-point what’s causing the issue.
  • As a last resort, you can reinstall WordPress with a fresh copy.

We hope this article helped you learn how to fix 503 service unavailable error in WordPress. You may also want to see our ultimate list of the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

172 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

42 Comments

Leave a Reply
  1. Magnus says:
    Nov 2, 2020 at 7:35 am

    I had this problem, well still having under specific circumstances. I tried everything: updated php, disabled some plugins, increased memory. And after all that I noticed that when I close admin panel for one of my websites, I have two websites on the same hosting, error stops. When I login into two admin panels simultaneously the problem appears. Any advice on how to solve this?

    Reply
    • WPBeginner Support says:
      Nov 2, 2020 at 11:57 am

      You would want to reach out to the support for your specific hosting to see if you are hitting a resource limit or something similar as the most likely cause.

      Reply
  2. Katy Durnford says:
    Sep 29, 2020 at 5:24 pm

    I have error 503 on my news feed at my site. How can I mend it please. I had to delete some plugins. It cleared 503 error on my fiction page, but I still have it showing on news feed. I have contacted my hosts, who gave me more memory, but then it show error 503. On deleting plugins made no change.

    Reply
    • WPBeginner Support says:
      Sep 30, 2020 at 10:19 am

      If the recommendations in our article did not work, we would recommend reaching out to your hosting provider for them to ensure there are no errors on the hosting end.

      Reply
  3. Paul Jolley says:
    Aug 27, 2020 at 2:03 pm

    Have to add my thanks to the 36 others to date for this support post.

    My site was getting slower and slower after a recent plug-in update both loading and when accessing pages / posts within my Admin area.

    Thinking it was my PC or Internet connection I logged out. Then things really got worrying for this beginner as I couldn’t log back in. Having installed a 2 factor authentication plug-in by the time the log in page loaded the verification access code had expired and I was locked out.

    Following the steps above, (just to disabling all Plug-ins stage, thankfully), cured both access, page load speeds and no, (currently after 3 hours testing), 503 service unavailable errors.

    BIG THANK YOU to all at WP Beginner.

    Like others below you are my first “go to” resource for all things WordPress.

    Reply
    • WPBeginner Support says:
      Aug 28, 2020 at 11:20 am

      You’re welcome, glad our recommendations were able to help :)

      Reply
  4. Ravi says:
    Aug 22, 2020 at 10:13 am

    Thanks mate.. it worked.. what i did is just made a new folder named as Plugins and copied plugins one by one to it it worked for me..

    Reply
    • WPBeginner Support says:
      Aug 24, 2020 at 3:29 pm

      Glad you were able to find a solution to your issue :)

      Reply
  5. Stefan says:
    Oct 15, 2019 at 11:48 am

    The actual reason I received this error, is not listed here. To everybody reading this: Before you go through all the steps above, check the following first!

    After I updated my plugins I started receiving this error. Apparently, some of the newer plugins don’t work as well with older versions of PHP! I logged-in to cpanel and changed the PHP version of my site to 7.0.

    In my case, 7.0 solved the error for me, but earlier as well as some later versions DID NOT.

    Reply
    • WPBeginner Support says:
      Oct 16, 2019 at 10:02 am

      Thank you for sharing what solved the error for you :)

      Reply
  6. Babatunde Peter oluwatimileyin says:
    Jul 15, 2019 at 6:26 am

    Wow! Great! I followed this article and find out that it was caused by one of my plugins.. But it one of the most important plugins I got.. If I install and activate it back. Would this error happen again?

    Reply
    • WPBeginner Support says:
      Jul 15, 2019 at 12:49 pm

      You can reinstall it to see if the error continues and if so you would want to reach out to the plugin’s support for them to know about the error.

      Reply
  7. Aziz says:
    Jul 2, 2019 at 10:48 pm

    Thanks a million! You saved my life. I deactivated my plugins via cpanel as you mentioned and it worked. Jetpack plugins turned out to be the cause of that trouble since the last update.

    Reply
    • WPBeginner Support says:
      Jul 3, 2019 at 11:37 am

      Glad our guide could help :)

      Reply
  8. Sven says:
    May 8, 2019 at 11:38 am

    In my case the issue was caused by me using my registered emailaddress instead instead of user name at the login prompt. Dunno why, because it used to work in the past. But anyway, using the user name at the login prompt solved it for me.

    Reply
    • WPBeginner Support says:
      May 9, 2019 at 11:14 am

      Thanks for sharing what solved the issue for you :)

      Reply
    • Ellie says:
      Nov 20, 2019 at 5:15 pm

      WOW, that was it for me too!! Thank you so much for sharing this!!

      Reply
  9. Saddam Kassim says:
    Apr 24, 2019 at 4:25 am

    I read many solutions for fixing 503 error like your one and few other blogs and I tried to rename plugins with an underscore at the end but still not getting the issue resolved. In case if none of the solutions works then what is the last option to follow?

    Reply
    • WPBeginner Support says:
      Apr 24, 2019 at 11:36 am

      You would want to use the steps in the troubleshooting section of contacting your hosting provider for what they can see on their end as well as possibly reuploading the WordPress files.

      Reply
  10. mojtaba says:
    Feb 25, 2019 at 6:48 am

    I uninstall theme after that i install the latest version of my theme and website got alive again.

    Thanks.

    Reply
    • WPBeginner Support says:
      Feb 26, 2019 at 12:52 pm

      Thanks for sharing your solution :)

      Reply
  11. Sudeesh says:
    Feb 19, 2019 at 5:23 am

    When I tried to contact Go Daddy, they were asking me to customize the content but on average my page memory is of 50KB, and all the plugins were removed from wordpress. Im using Avada Theme do I need to switch back to the basic theme?

    Reply
    • WPBeginner Support says:
      Feb 19, 2019 at 11:24 am

      You would want to try disabling the theme to see if it could be a conflict with the theme and your site in which case you could reach out to the theme’s support for their assistance.

      Reply
  12. Martha says:
    Dec 1, 2018 at 3:30 am

    I increased php version and got the 503 error. By increasing the wp memory limit my site was restored.

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    As per https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    Reply
  13. Stefan Pabst says:
    Nov 27, 2018 at 6:24 am

    In my case, there was an active spam filter that blocked various POST requests. Just had to turn off the filter to remove the 503 error.

    Reply
  14. Matt says:
    Oct 15, 2018 at 9:28 am

    Hi Guys,
    Before you go for clean install go and disable SSL setup on your hosting/plugins.
    Solves many 503 admin-ajax process errors!
    Worked for my “add media” issues

    Reply
  15. Mariska says:
    Sep 7, 2018 at 8:52 am

    Deactivate Plugins did not work, delete theme did not work.
    Still working on this, but in the meantime. After (downloading and) deleting the theme, my site did not go to the default theme and is now blanc. How can I re-install the old theme so that even if I cannot login to the admin page, my site will still be visible?

    Reply
  16. marlene ytterland says:
    Aug 13, 2018 at 8:58 pm

    It was my brand new theme! I just couldn’t…! Thank you soooo so much!!

    Reply
  17. Armando says:
    Aug 2, 2018 at 6:44 am

    Hi,
    I had 503 error and just logged in the WP admin panel it solved the problem. This happened with to different sites at different time.

    Do you know something about it? I can’t find anything about this.

    Thanks

    Reply
  18. Alex Seidanis says:
    Mar 26, 2018 at 5:13 pm

    This should be titled “How to locate the root cause of a 503 error in WordPress”, as it only provides hints to pinpoint what causes the error, but no rectification advise. My root cause was woocommerce; now what?

    Reply
    • Jennifer W says:
      Apr 3, 2018 at 2:57 pm

      Contact your webhost! I just did that and they fixed the problem. I was having an issue with Woocommerce too and they just changed a version in cPanel. Good luck!

      Reply
      • Mark says:
        Jun 11, 2019 at 8:43 pm

        What did they change? PHP version? I’m having some similar issues and I’m thinking it’s coming from woocommerece too…

        Reply
        • WPBeginner Support says:
          Jun 12, 2019 at 10:46 am

          It was likely a php version change, if you reach out to your hosting provider they should be able to assist.

    • James says:
      Nov 21, 2018 at 4:01 pm

      Same here… what next?

      Reply
  19. Musthafa PA says:
    Jan 16, 2018 at 5:41 am

    Hello,
    I can upload and install a theme using ftp or c panel. But how can i activate the theme if i am facing error 503. I can not access the dashboard as you know.

    Reply
  20. Ene Sorin says:
    Nov 13, 2017 at 7:07 pm

    Issue seems to be that hosting providers after migration keep PHP version of 5.3 for compatibility.
    Change to higher and should work.

    Reply
    • Vivek Athalye says:
      May 14, 2019 at 12:42 pm

      Thanks Ene. This solved my problem.

      Reply
  21. Kiley Hernandez says:
    Sep 19, 2017 at 10:10 pm

    I noticed this issue on a couple of sites. Even after replacing all the WP core files. I noticed that the official WP zip is missing critical files. I just downloaded the alternate .tar file just under the big blue download button and it worked.

    Reply
  22. Krzysiek Dróżdż says:
    Sep 19, 2017 at 12:05 pm

    So basically your advice is to potentially destroy all the site, since you have no idea what dependencies there were and what will get destroyed after these operations… That’s a really great advice, I guess… :(

    Reply
    • WPBeginner Support says:
      Sep 20, 2017 at 4:23 pm

      Hey Krzysiek,

      Renaming or deactivating WordPress plugins does not destroy a website or delete any data. Once a user finds the culprit, they can activate all their plugins and find a replacement for the one causing the issue.

      However, if the issue persists, then a fresh install is necessary. Again, reinstalling WordPress files doesn’t affect the data stored in the database or images stored in the uploads folder.

      Reply
  23. Jeremy grates says:
    Sep 19, 2017 at 11:28 am

    I have also seen cases where it could be a maintenance plugin as well while you are working k n a website. This also will also result in a 503 error

    Reply
  24. Rushikesh Thawale says:
    Sep 19, 2017 at 8:57 am

    Hello,
    Thank you for this Wonderful website. Whenever I get any problem on WordPress, I come to your site for finding the solution.
    Thank you for awesome service.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
All in One SEO logo
All in One SEO
Improve website SEO rankings with AIOSEO plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
HostGator
HostGator Coupon
Get 62% OFF HostGator, one of the most reliable and popular web hosting companies! Includes FREE domain.
SeedProd Logo
SeedProd Coupon
Get 50% OFF SeedProd Coming Soon Page plugin for WordPress.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.