Increase WordPress upload limit – simply explained

There are many reasons to integrate images, videos or other files on your WordPress website or blog. But sooner or later you will probably encounter a problem when uploading the files: The WordPress upload limit.

Your file (file size) is too large to upload to WordPress. Now you are probably wondering how to solve the problem. After all, you can’t compress or scale your file size infinitely either.

After all, the quality of the file should not suffer too much. We can reassure you: You can increase the WordPress upload limit. Here we explain how to make the right settings:

Why is there an upload limit on WordPress?

The upload limit for WordPress is usually around 2MB or 5MB. Nowadays, unsurprisingly, this is often not enough if you want to upload high-resolution content. But why is there this limit at all?

Above all, the limit protects your server. It is actually also a limit of your server and not of WordPress itself. It is for the security and efficiency of the server and your WordPress website.

How to increase the WordPress upload limit?

If you are looking for solutions to this problem, you will find a variety of ways to fix the problem online and offline.

We’ve focused again on four of the solutions on how to increase your upload limit and present them to you. These have proven to be the most effective for us in practice.

You can then decide for yourself which one you personally like best.

Since the upload limit is not a direct limitation of WordPress, but of your server, you will not find the solution in the WordPress backend, but in your server settings or in your PHP settings.

The central instructions, which we will deal with in more detail in a moment, are:

  • “post_max_size”
  • “upload_max_filesize”
  • “memory_limit”.

Four ways to increase your WordPress upload limit:

1. Edit Wp-config.php

One way is to edit the wp-config.php file. This file is created during the WordPress installation and is located in the main folder of your WordPress installation.

In this file you will find different configurations. Among other things, again “post_max_size”, “upload_max_filesize” and “memory_limit” in relation to your data upload.

Now add the following entry there:

define('WP_MEMORY_LIMIT', '16M');

With the number you determine your new upload limit. In this case it is now 16MB. You can of course vary the number individually.

2. Create or modify Php.ini file

You can find your server’s configurations in Php.ini files. These files also allow you to edit these configurations.

You can create your php.ini file via FTP (e.g. Filezilla) or SSH if you haven’t already done so. Once you have created it, look again for the 3 configurations “post_max_size”, “upload_max_filesize” and “memory_limit”.

These should currently be assigned values ​​between 3M and 5M. Enter your desired upload limit here. Save your php.ini file for your changes to take effect.

3. Change PHP options in cPanel

Probably the simplest solution is available to you should you use cPanel.

Here you can easily change it on the UI by selecting “Select PHP version” in the dashboard and then “Switch to PHP options”.

Now you will find a list of configurations. You are interested in the “post_max_size”, “upload_max_filesize” and “memory_limit” mentioned above.

For “upload_max_filesize” choose your upload size from the dropdown menu and save your changes.

4. Multisite settings

Do you have a WordPress multisite and want to increase your upload limit? We also have a solution ready for you. As a network administrator, you can increase the upload limit under Settings > Network settings.

Under file upload settings you will find the item “Maximum file size of an upload”.

This value needs to be adjusted to allow you to upload larger files. Usually the value is displayed in KB.

This means that if you want to increase your WordPress upload limit to 16 MB, you have to enter and save 16,384 KB (= 16 MB * 1024) here.

Our conclusion on increasing the WordPress upload limit

When creating and maintaining your WordPress site or blog, you will probably come to a point where the upload limit is no longer sufficient.

If this is the case, you should first check whether you really need the file, image or video in this resolution or whether it is not sufficient in compressed or scaled form.

Once you’ve done that and decided that the file of that size belongs in your WordPress library, you can do exactly that.

We hope that we can help you with this article on “Increase WordPress upload limit” and our explanations of the settings and that you can increase your upload limit.


Sometimes it is necessary to upload larger files. However, too many large files degrade the performance of your website and thus increase the loading times.

The experience for your users will be worse, despite impressive pictures and videos. So you should always weigh up when it’s worth it and when it’s not.

There are also interesting tricks to save storage space. We recommend our articles “Optimizing images for WordPress” and “Cleaning up WordPress”. Come around.

How can we help you?

Do you have any further questions about increasing the WordPress upload limit or do you need our support in the WordPress area?

Then you’ve come to the right place at Digital Leap. As a WordPress agency, we are experts in the field of WordPress programming and offer our services to end customers as well as creative agencies and designers.

Just write us an email or give us a call. We look forward to you.

wordpress upload limit headbild Previous post Increase WordPress upload limit [in 10 Minuten]
Next post Increase WordPress upload limit