Android OS Error Code 504: How to Fix It
Easy 10-20 minutes Medium Severity
Verified June 2026
- Error Code
- 504
- Brand
- Android
- Product Type
- operating_system
- Severity
- Medium
- DIY Difficulty
- Easy
- Estimated Fix Time
- 10-20 minutes
Ad
How to Fix Error Code 504
-
Check Your Internet Connection
-
Clear Google Play Store Cache
-
Clear Google Play Services Cache
-
Reset Date and Time
-
Remove and Re-add Google Account
Removing your account will temporarily remove synced data like contacts and emails. They will restore after re-adding. -
Update Google Play Store and Play Services
-
Disable VPN or Proxy
-
Factory Reset (Last Resort)
This will erase all personal data. Ensure you have a backup.
Ad
When to Call a Professional
If you've tried all steps including a factory reset and still see error 504, there may be a hardware issue or carrier restriction. Contact your device manufacturer or mobile carrier for support.Frequently Asked Questions
What does error code 504 mean on Android?
Error 504 indicates a timeout error from Google Play servers. It usually means your device couldn't connect to Google's servers in time, often due to network issues or corrupted cache.
Will clearing data on Google Play Store fix error 504?
Clearing data can help, but it will reset the Play Store to its default state (you'll need to accept terms again). Try clearing cache first; if that doesn't work, then clear data.
Does error 504 mean my phone is broken?
No, it's a software or network issue. Your phone is likely fine. Follow the steps above to resolve it without needing repairs.
Why does error 504 happen only on Wi-Fi?
If error 504 occurs only on Wi-Fi, your router may be blocking Google Play servers. Try rebooting the router or changing DNS to Google's (8.8.8.8).
How do I prevent error 504 in the future?
Keep your device's date/time automatic, regularly clear app caches, and ensure a stable internet connection. Also, keep Google Play Store and Play Services updated.