Android Mobile Error Code 504: How to Fix It
Easy 10-20 minutes Medium Severity
Verified June 2026
- Error Code
- Error 504
- Brand
- Android
- Product Type
- mobile
- Severity
- Medium
- DIY Difficulty
- Easy
- Estimated Fix Time
- 10-20 minutes
Ad
How to Fix Error Code Error 504
-
Check your internet connection
-
Clear Google Play Store cache and data
Clearing data will remove your Play Store settings and you'll need to accept terms of service again. -
Clear Google Play Services cache
Only clear cache for Google Play Services, never clear data as it may break other Google functionality. -
Remove and re-add your Google account
Back up any unsaved data as removing your Google account may affect synced data temporarily. -
Update Google Play Store
-
Reset network settings
You'll need to re-enter all Wi-Fi passwords and re-pair Bluetooth devices after this reset. -
Try downloading in Safe Mode
-
Check date and time settings
Ad
When to Call a Professional
Contact your mobile carrier if the error persists after trying all steps, as there may be network-level restrictions or account issues. Consider visiting an authorized repair center if the problem occurs across all internet connections and apps, as this may indicate a hardware issue with the device's network components.Frequently Asked Questions
Why does Error 504 keep happening on my Android?
Error 504 typically recurs due to unstable internet connection, corrupted Play Store cache, or temporary Google server issues. It can also be caused by third-party apps interfering with network requests or incorrect device time settings affecting SSL connections.
Can I fix Error 504 without losing my data?
Yes, most fixes for Error 504 don't require data loss. Clearing app cache and removing/re-adding your Google account are safe. Only factory reset would cause data loss, which should be a last resort after backing up your data.
Is Error 504 the same as server timeout?
Yes, Error 504 is essentially a gateway timeout error, meaning your device couldn't reach Google's servers within the expected timeframe. This can happen due to slow internet, server overload, or network configuration issues.
How do I prevent Error 504 from happening again?
Keep your Play Store updated, maintain stable internet connection, regularly clear app caches, and ensure your device has sufficient storage space. Avoid downloading multiple large apps simultaneously and restart your device weekly to clear temporary files.
Does Error 504 affect app updates or just downloads?
Error 504 can affect both new app downloads and updates to existing apps. The error occurs during any communication between your device and Google Play servers, whether you're installing a new app or updating an existing one.