{"id":90604,"date":"2025-12-16T12:59:49","date_gmt":"2025-12-16T12:59:49","guid":{"rendered":"https:\/\/www.bluehost.com\/blog\/?p=90604"},"modified":"2025-12-16T13:00:05","modified_gmt":"2025-12-16T13:00:05","slug":"how-to-increase-the-maximum-file-upload-size-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/","title":{"rendered":"How to Increase the Maximum File Upload Size in WordPress"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Key highlights<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Learn how to increase the maximum file upload size in <a href=\"https:\/\/www.bluehost.com\/wordpress\/wordpress-hosting\">WordPress<\/a> using safe methods like php.ini, .htaccess and server settings.<\/li>\n\n\n\n<li>Understand common upload limit issues, default values and error messages when uploading large files in the WordPress media library.<\/li>\n\n\n\n<li>Discover how hosting environments, PHP version and PHP settings affect the maximum upload file size on your WordPress site.<\/li>\n\n\n\n<li>Follow step-by-step methods to update upload size limits through cPanel, File Manager, <a href=\"https:\/\/www.bluehost.com\/blog\/best-ftp-client\/\">FTP client<\/a> or WordPress dashboard tools.<\/li>\n\n\n\n<li>See how your hosting provider and web hosting configuration play a key role in supporting large file uploads and high-resolution images.<\/li>\n<\/ul>\n\n\n\n<p>If you&#8217;ve ever run into an error while trying to upload media, install a large theme, or add a hefty plugin to your WordPress site, you&#8217;re probably familiar with the frustration of hitting the <em>maximum file upload size limit<\/em>. The default settings in WordPress restrict the size of files you can upload. This can be frustrating when you need to work with large media files or themes. Such restrictions can slow down your process, impacting everything from uploading images to configuring essential features on your site.&nbsp;<\/p>\n\n\n\n<p>In this guide, we&#8217;ll show you some simple and effective methods to boost the file upload size in WordPress configurations, making your workflow smoother. Whether you&#8217;re comfortable editing a PHP INI file, tweaking the .<em>htaccess file<\/em> or using a plugin, you&#8217;ll find a method that works for you to remove that file size limit and upload larger files smoothly. Let&#8217;s get your WordPress multisite running without a hitch!\u00a0\u00a0\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-1-contact-your-wordpress-hosting-provider\">Method 1: Contact your WordPress hosting provider<\/h2>\n\n\n\n<p>To enhance the size of the highest file that can be uploaded in WordPress, the best method is to connect with your hosting provider. It will save you from having to deal with code snippets or server setup like turning .php or the .htaccess file down your way.&nbsp;&nbsp;<\/p>\n\n\n\n<p>If you&#8217;re a Bluehost user, log into your Bluehost user account, and select the &#8216;Chat&#8217; icon located at the bottom of the page. From here, you can ask the support team to increase the maximum upload file size for you.&nbsp;<\/p>\n\n\n\n<p>This quick method will remove the need to use technical settings such as the maximum upload size limit of your site. This way, you can either upload big files or switch between different versions very comfortably.\u00a0\u00a0\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"955\" height=\"510\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us.png\" alt=\"contact us\" class=\"wp-image-107550\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us.png 955w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us-300x160.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us-768x410.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us-24x13.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us-36x19.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/contact-us-48x26.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-2-create-or-edit-the-php-ini-file-nbsp-nbsp\">Method 2: Create or edit the php.ini file&nbsp;&nbsp;<\/h2>\n\n\n\n<p>Another effective way to increase the ultimate file upload size in WordPress is by creating or editing a file called <em>php.ini<\/em>. This file plays a key role in managing various server settings, including the maximum upload size for your WordPress site. By tweaking this file, you can easily adjust the limits that affect file uploads, so you can upload large files like themes, plugins, or media without running into the dreaded &#8220;file size limit&#8221; error.&nbsp;&nbsp;<\/p>\n\n\n\n<p>If your hosting provider uses cPanel, as many do (like Bluehost), you can make this change using the built-in MultiPHP INI Editor. Here\u2019s how to do it:&nbsp;<\/p>\n\n\n\n<p>First, log in to your cPanel dashboard through your hosting provider&#8217;s dashboard. On Bluehost, for example, you&#8217;ll find the cPanel option under the \u201cHosting\u201d tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"349\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1.png\" alt=\"cpanel\" class=\"wp-image-107556\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1-300x102.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1-768x262.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1-24x8.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1-36x12.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/Cpanel-1-48x16.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>Once inside cPanel, scroll down to the \u201cSoftware\u201d section and click on <em>MultiPHP INI Editor<\/em>.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"599\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php.png\" alt=\"phpmyAdmin\" class=\"wp-image-107563\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php-300x175.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php-768x449.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php-24x14.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php-36x21.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/php-48x28.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>From there, locate the section labeled <em>upload_max_filesize<\/em> and simply enter your desired file size limit. After making your changes, click \u2018Apply\u2019 and you\u2019re all set.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"280\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply.png\" alt=\"apply changes\" class=\"wp-image-107573\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply-300x82.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply-768x210.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply-24x7.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply-36x10.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/apply-48x13.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>Alternatively, switch to the &#8216;Editor Mode&#8217; tab, where you can directly modify the file upload size in the editor. Simply locate and adjust the &#8216;upload_max_filesize&#8217; section to increase the file upload limit. Once you have made your changes, click the &#8216;Save&#8217; button to apply them.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"480\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode.png\" alt=\"editor mode\" class=\"wp-image-107576\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode-300x141.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode-768x360.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode-24x11.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode-36x17.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/editor-mode-48x23.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p><strong>Editing php.ini by adding code<\/strong>&nbsp;<\/p>\n\n\n\n<p>If you\u2019re feeling a bit more adventurous or don\u2019t have cPanel access, you can manually create or edit the <em>php.ini<\/em> file. Using an FTP client or your hosting provider\u2019s File Manager, navigate to your site\u2019s root folder (the WordPress root directory).&nbsp;<\/p>\n\n\n\n<p>If the <em>php.ini<\/em> file isn\u2019t already there, no worries\u2014just create a new one. Then, add the following code snippet:&nbsp;&nbsp;<\/p>\n\n\n\n<p><code>upload_max_filesize = 256M&nbsp;<\/code><\/p>\n\n\n\n<p><code>post_max_size = 256M&nbsp;<\/code><\/p>\n\n\n\n<p><code>max_execution_time = 300&nbsp;<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"413\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts.png\" alt=\"keyboard shotcuts\" class=\"wp-image-107582\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts-300x121.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts-768x310.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts-24x10.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts-36x15.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/keyboard-shortcuts-48x19.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>From above code, you can adjust the <em>256M<\/em> to whatever size you need for your uploads. Once saved, this will increase the max upload size limit, allowing you to upload large image files or media uploads smoothly.\u00a0\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-3-add-code-to-your-theme-s-functions-php-file-nbsp\">Method 3: Add code to your theme\u2019s functions.php file&nbsp;<\/h2>\n\n\n\n<p>Next, adding a code snippet to your theme&#8217;s <em>functions.php<\/em> file can help you increase the maximum file upload size in WordPress. While you can edit this file directly, it\u2019s much safer and easier to use a plugin like WPCode. This plugin lets you add custom code to your WordPress site without risking any errors or breaking your site.&nbsp;&nbsp;<\/p>\n\n\n\n<p>To get started, you first need to install the free <em>WPCode<\/em> plugin. Once installed and activated, head to Code Snippets \u00bb + Add Snippet. Hover over the &#8220;Add Your Custom Code&#8221; option and click on the Add Custom Snippet button.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Now, you\u2019ll be taken to a screen where you can name your new snippet. Change the code type to <em>PHP Snippet<\/em> and then paste this code into the <em>Code Preview<\/em> section:&nbsp;<\/p>\n\n\n\n<p><code>@ini_set( 'upload_max_size' , '256M' );&nbsp;<\/code><\/p>\n\n\n\n<p><code>@ini_set( 'post_max_size', '256M');&nbsp;<\/code><\/p>\n\n\n\n<p><code>@ini_set( 'max_execution_time', '300' );<\/code><\/p>\n\n\n\n<p>Feel free to adjust the <em>256M<\/em> value to the maximum upload size you need. Once you\u2019re done, switch the toggle at the top to &#8220;Active&#8221; and click the Save Snippet button. The code will now be live on your WordPress site, increasing your max file upload size without you needing to mess with the core files directly.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"379\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet.png\" alt=\"save snippets\" class=\"wp-image-107579\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet-300x111.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet-768x284.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet-24x9.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet-36x13.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/save-snippet-48x18.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>This method is perfect for those who want to safely edit their WordPress site and easily manage file upload limits.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-4-modify-the-htaccess-file-nbsp-nbsp\">Method 4: Modify the .htaccess file&nbsp;&nbsp;<\/h2>\n\n\n\n<p>You can increase the maximum file upload size in WordPress by modifying the <em>.htaccess<\/em> file as well. This file is crucial because it controls key configuration settings for your website. To get started, you\u2019ll need to log in to your server using an FTP client.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>Once logged in, navigate to your site&#8217;s root folder, where the <em>.htaccess<\/em> file is located. If you don\u2019t see it, your File Manager or FTP client may have hidden the file.&nbsp;&nbsp;<\/p>\n\n\n\n<p>After finding the file, open it and add the following code snippet to increase the upload size:&nbsp;<\/p>\n\n\n\n<p><code>php_value upload_max_filesize 256M<\/code><\/p>\n\n\n\n<p><code>php_value post_max_size 25M<\/code><\/p>\n\n\n\n<p><code>php_value max_execution_time 300<\/code><\/p>\n\n\n\n<p><code>php_value max_input_time 300<\/code>&nbsp;<\/p>\n\n\n\n<p>If you need to increase the upload size even more, simply adjust the <em>256M<\/em> value to the desired file size. Once done, you can save and upload the file back to your server. This method gives you control over your file upload limits, allowing you to upload large files like images and media without errors.&nbsp;&nbsp;<\/p>\n\n\n\n<p>By editing the <em>.htaccess<\/em> file, you&#8217;re tweaking the core settings of your web server, which directly affects your site&#8217;s upload capabilities.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-5-use-a-plugin-to-increase-file-upload-size-nbsp-nbsp\">Method 5: Use a plugin to increase file upload size&nbsp;&nbsp;<\/h2>\n\n\n\n<p>If you&#8217;re not comfortable adding code to WordPress, a great option to increase the maximum file upload size is using a plugin like <em>WP Increase Maximum Upload Filesize<\/em>. This plugin makes it easy to adjust the upload size without dealing with .php files or the <em>.htaccess<\/em> file.&nbsp;&nbsp;<\/p>\n\n\n\n<p>First, install and activate the plugin.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"862\" height=\"637\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size.png\" alt=\"Add plugins tab\" class=\"wp-image-107309\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size.png 862w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size-300x222.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size-768x568.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size-24x18.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size-36x27.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/install-increase-maximum-upload-size-48x35.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>Once the plugin is activated, go to Media \u00bb Increase Upload Limit in your WordPress dashboard.&nbsp;<\/p>\n\n\n\n<p>On the plugin&#8217;s settings page, you&#8217;ll see a drop-down menu labeled <em>Choose Maximum Upload File Size<\/em>. Select the new file upload size you want, then click the Save Changes button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit.png\" alt=\"Maximum upload file size\" class=\"wp-image-107304\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit-300x121.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit-768x309.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit-24x10.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit-36x14.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/increase-upload-limit-48x19.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>Keep in mind that your hosting provider might set a maximum upload size limit. If you need to upload larger files than what\u2019s available in the plugin\u2019s drop-down menu, you must get in touch with your hosting provider to request a higher limit.&nbsp;<\/p>\n\n\n\n<p>This plugin is a simple solution for users who prefer not to edit code but still need to upload large files to their WordPress site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-nbsp-method-6-create-or-update-the-user-ini-file-nbsp\">&nbsp;Method 6: Create or update the &#8220;.user.ini&#8221; file&nbsp;<\/h2>\n\n\n\n<p>If your hosting provider has restricted the global PHP settings, they might be using <em>.user.ini<\/em> files instead of <em>php.ini<\/em>. Just like <em>php.ini<\/em> or <em>.htaccess<\/em>, you can find the <em>.user.ini<\/em> file in your WordPress root directory.<s>&nbsp;<\/s>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"669\" src=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-1024x669.png\" alt=\"File manager\" class=\"wp-image-90710\" srcset=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-1024x669.png 1024w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-300x196.png 300w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-768x502.png 768w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-24x16.png 24w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-36x24.png 36w, https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/find-.user_.ini-file-48x31.png 48w\" sizes=\"100vw\" \/><\/figure>\n\n\n\n<p>If it\u2019s not there, you can create one.&nbsp;&nbsp;<\/p>\n\n\n\n<p>To create or modify the <em>.user.ini<\/em> file, follow the same steps as creating a <em>php.ini<\/em> file. Once you&#8217;ve created the file, add this code snippet:&nbsp;&nbsp;<\/p>\n\n\n\n<p><code>upload_max_filesize = 32M<\/code>&nbsp;<\/p>\n\n\n\n<p><code>post_max_size = 64M<\/code>&nbsp;<\/p>\n\n\n\n<p><code>memory_limit = 128M&nbsp;<\/code><\/p>\n\n\n\n<p>This code increases the maximum upload size, post size and memory limit for your WordPress site. It\u2019s a similar method to the <em>php.ini<\/em> file, but with a different filename. This will help you increase the maximum file upload size for large files and resolve any upload errors.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-7-use-the-wordpress-upload-size-limit-filter-nbsp\">Method 7: Use the WordPress \u2018upload_size_limit\u2019 filter&nbsp;<\/h2>\n\n\n\n<p>In WordPress 2.5, the `upload_size_limit` filter was introduced to allow for more control over the maximum upload size allowed, as defined in <em>php.ini<\/em>. This filter can be customized to change the upload limit for different user roles, such as non-admins. Here&#8217;s an example of how you can use this filter to set a specific upload size limit for non-administrators.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Below is an example provided by <a href=\"https:\/\/www.bluehost.com\/blog\/how-to-become-a-wordpress-contributor\/\">WordPress contributor<\/a> Drew Jaynes, which sets the maximum file upload size for all non-admin users to 10MB:&nbsp;&nbsp;<\/p>\n\n\n\n<p><code>\/**&nbsp; Filter the upload size limit for non-administrators.&nbsp;&nbsp; *@param string $size Upload size limit (in bytes).&nbsp; @return int Filtered size limit. *\/ function filter_site_upload_size_limit( $size ) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/\/ Set the upload size limit to 10 MB for users lacking the 'manage_options' capability.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( ! current_user_can( 'manage_options' ) ) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/\/ 10 MB limit for non-admins.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $size = 1024&nbsp; 10000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $size; } add_filter( 'upload_size_limit', 'filter_site_upload_size_limit', 20 );&nbsp;<\/code><\/p>\n\n\n\n<p>This code checks if the current user lacks the `manage_options` capability (which is only available to admins) and limits their upload size to 10MB. You can modify this code to adjust the upload size for specific user roles or even for particular user IDs, depending on your needs.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-8-increase-the-max-upload-file-size-in-nginx-nbsp\">Method 8: Increase the max upload file size in Nginx&nbsp;<\/h2>\n\n\n\n<p>Nginx is a type of web server that is frequently used because it works faster. At the same time, it serves more requests per second. A lot of performance-oriented hosting services liberate WordPress, including Bluehost, utilize Nginx.&nbsp;<\/p>\n\n\n\n<p>If your WordPress website is hosted on Nginx server and you find yourself in a position where you need to increase the upload max file size, you will have to change this both in the <em>php.ini file<\/em> as well as the <em>nginx.conf file<\/em>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-modify-the-php-ini-file-nbsp\">Step 1: Modify the php.ini file&nbsp;<\/h3>\n\n\n\n<p>Begin by finding and editing your <em>php.ini<\/em> file to customize the upload settings. On a Nginx server, this file is typically found at `\/etc\/php\/7.4\/fpm\/php.ini`, though the exact path may vary depending on the PHP version installed on your server.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Here\u2019s the code you need to add or modify:&nbsp;&nbsp;<\/p>\n\n\n\n<p><code>upload_max_filesize = 64Mpost_max_size = 128M&nbsp;<\/code><\/p>\n\n\n\n<p>These lines adjust the maximum file upload size and the maximum post size, respectively. After making your changes, save the file. To apply these updates, you\u2019ll need to restart PHP-FPM using the following command:&nbsp;&nbsp;<\/p>\n\n\n\n<p>&#8220;`bash&nbsp;<\/p>\n\n\n\n<p><code>sudo service php7.4-fpm restart&nbsp;<\/code><\/p>\n\n\n\n<p>&#8220;`&nbsp;<\/p>\n\n\n\n<p>If you&#8217;re using a different PHP version, adjust the command accordingly (e.g., `php7.3-fpm` or `php8.0-fpm`).&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-modify-the-nginx-conf-file-nbsp-nbsp\">Step 2: Modify the nginx.conf file&nbsp;&nbsp;<\/h3>\n\n\n\n<p>Next, you\u2019ll need to modify the <em>nginx.conf<\/em> file to increase the upload limit at the server level. This is done by adjusting the `client_max_body_size` directive, which controls the maximum upload size for the entire Nginx server.&nbsp;&nbsp;<\/p>\n\n\n\n<p>To find this file, navigate to `\/etc\/nginx\/nginx.conf`. You can place the `client_max_body_size` directive in one of three blocks within the configuration file, depending on how widely you want the setting to apply:&nbsp;&nbsp;<\/p>\n\n\n\n<p>&#8211; <strong>http block<\/strong>: Affects all sites and apps hosted on the server.&nbsp;<\/p>\n\n\n\n<p>&#8220;`nginx&nbsp;<\/p>\n\n\n\n<p><code>&nbsp;http {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_max_body_size 128M;&nbsp; }&nbsp;<\/code><\/p>\n\n\n\n<p>&#8220;`&nbsp;<\/p>\n\n\n\n<p>&#8211; <strong>server block<\/strong>: Affects a specific site or app hosted on the server.&nbsp;<\/p>\n\n\n\n<p>&#8220;`nginx&nbsp;<\/p>\n\n\n\n<p><code>&nbsp;server {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_max_body_size 128M;&nbsp; }&nbsp;<\/code><\/p>\n\n\n\n<p>&#8220;`&nbsp;<\/p>\n\n\n\n<p>&#8211; <strong>location block<\/strong>: Affects a specific directory, such as `\/uploads` or `\/files`, within a site or app.&nbsp;<\/p>\n\n\n\n<p>&#8220;`nginx&nbsp;<\/p>\n\n\n\n<p><code>&nbsp;location \/files {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client_max_body_size 128M;&nbsp; }&nbsp;<\/code><\/p>\n\n\n\n<p>&#8220;`&nbsp;<\/p>\n\n\n\n<p>Adjust the size (e.g., <em>128M<\/em>) to your preferred maximum upload size. Once the changes are made, save the file.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-restart-nginx-nbsp\">Step 3: Restart Nginx&nbsp;<\/h3>\n\n\n\n<p>To apply the new settings, restart Nginx using the following command:&nbsp;<\/p>\n\n\n\n<p>&#8220;`bash&nbsp;<\/p>\n\n\n\n<p><code>sudo service nginx reload<\/code>&nbsp;<\/p>\n\n\n\n<p>&#8220;`&nbsp;<\/p>\n\n\n\n<p>This command reloads the configuration without stopping the server, ensuring your changes are applied immediately.&nbsp;<\/p>\n\n\n\n<p><strong>Note for Bluehost users<\/strong>:<\/p>\n\n\n\n<p>You won\u2019t have direct access to the <em>nginx.conf<\/em> file in case you have partnered with Bluehost. However, Bluehost\u2019s support team can make these changes for you. Simply reach out to them and they\u2019ll adjust the upload limits on your behalf.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>To increase the maximum file upload size on a WordPress site running on Nginx, you\u2019ll need to tweak both the <em>php.ini<\/em> and<em> nginx.conf<\/em> files. By adjusting the limits in these files and then restarting PHP-FPM and Nginx, you\u2019ll be able to upload larger files without encountering any errors. This approach helps ensure that your WordPress site can smoothly handle bigger media files, plugins, or themes without hitting size restrictions.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-final-thoughts\">Final thoughts<\/h2>\n\n\n\n<p>Increasing the maximum file upload size in <a href=\"https:\/\/www.bluehost.com\/blog\/guide-to-wordpress-plugins\/\">WordPress plugin<\/a> allows you to upload large media files, themes, or plugins without interruptions, ensuring smoother site management and improved core functionality. Whether you&#8217;re handling heavy files or need more flexibility, boosting the upload limit will make your workflow faster and more efficient.<\/p>\n\n\n\n<p>If you&#8217;re <a href=\"https:\/\/bluehost.com\/\">hosting your site with Bluehost<\/a>, their support team is always available to assist you in increasing your upload limits. Whether you&#8217;re dealing with large media files or need extra flexibility, Bluehost is there to help you manage your WordPress site seamlessly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-faqs\">FAQs<\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1730147767127\"><strong class=\"schema-faq-question\"><strong>What is the default maximum upload file size in WordPress?\u00a0<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">The default maximum upload size in WordPress varies based on your server configuration and hosting provider, but it is usually between 2MB and 64MB.\u00a0\u00a0<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730147818502\"><strong class=\"schema-faq-question\"><strong>How can I check my current maximum upload file size in WordPress?\u00a0<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">You can check the current upload size limit by going to your WordPress dashboard, navigating to Media \u00bb Add New and looking for the maximum file upload size notice below the upload box.\u00a0\u00a0<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730147828760\"><strong class=\"schema-faq-question\"><strong>How to increase WordPress max upload file size limit?<\/strong><\/strong> <p class=\"schema-faq-answer\">You have the option to boost the upload size by contacting your hosting provider, editing the <em>php.ini<\/em> or <em>.htaccess<\/em> files, adding code to the <em>functions.php<\/em> file, or using a plugin like <em>WP Increase Upload Filesize<\/em>.\u00a0\u00a0<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730147836172\"><strong class=\"schema-faq-question\"><strong>What if I don\u2019t feel comfortable editing server files like php.ini or .htaccess?\u00a0<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">If you\u2019re not comfortable with editing code, the easiest way to increase the upload size is by using a WordPress plugin like <em>WP Increase Upload Filesize<\/em>. It allows you to increase the file size limit without dealing with complex server settings.\u00a0\u00a0<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730147843318\"><strong class=\"schema-faq-question\"><strong>What should I do if I still get an error message after increasing the upload limit?\u00a0<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">If you&#8217;re still encountering errors after increasing the maximum file upload size, you may need to contact your hosting provider. They might have a maximum upload size limit set on their server, which needs to be adjusted.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Increase WordPress upload limits easily! Learn simple ways to boost the max file size for seamless media uploads.<\/p>\n","protected":false},"author":147,"featured_media":90446,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_title":"Top Methods to Increase Maximum File Upload Size in WordPress","_yoast_wpseo_metadesc":"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.","inline_featured_image":false,"footnotes":""},"categories":[3045,21],"tags":[3317,3327,3330,3343],"ppma_author":[945],"class_list":["post-90604","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting","category-wordpress","tag-cms","tag-faqs","tag-how-to-guides","tag-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Top Methods to Increase Maximum File Upload Size in WordPress<\/title>\n<meta name=\"description\" content=\"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts\/90604\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase the Maximum File Upload Size in WordPress\" \/>\n<meta property=\"og:description\" content=\"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Bluehost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bluehost\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-16T12:59:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-16T13:00:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1351\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sonali Sinha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bluehost\" \/>\n<meta name=\"twitter:site\" content=\"@bluehost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonali Sinha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\"},\"author\":{\"name\":\"Sonali Sinha\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/10831dc70a1c62c863a1c4a9c29bab6d\"},\"headline\":\"How to Increase the Maximum File Upload Size in WordPress\",\"datePublished\":\"2025-12-16T12:59:49+00:00\",\"dateModified\":\"2025-12-16T13:00:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\"},\"wordCount\":2549,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png\",\"keywords\":[\"CMS\",\"FAQs\",\"How-To Guides\",\"Tutorials\"],\"articleSection\":[\"Troubleshooting\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\",\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\",\"name\":\"Top Methods to Increase Maximum File Upload Size in WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png\",\"datePublished\":\"2025-12-16T12:59:49+00:00\",\"dateModified\":\"2025-12-16T13:00:05+00:00\",\"description\":\"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127\"},{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502\"},{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760\"},{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172\"},{\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png\",\"contentUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png\",\"width\":2400,\"height\":1351,\"caption\":\"Maximum File Upload Size\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/www.bluehost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\/\/www.bluehost.com\/blog\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Increase the Maximum File Upload Size in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#website\",\"url\":\"https:\/\/www.bluehost.com\/blog\/\",\"name\":\"Bluehost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bluehost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#organization\",\"name\":\"Bluehost\",\"url\":\"https:\/\/www.bluehost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg\",\"contentUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg\",\"width\":136,\"height\":24,\"caption\":\"Bluehost\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/bluehost\/\",\"https:\/\/x.com\/bluehost\",\"https:\/\/www.linkedin.com\/company\/bluehost-com\/\",\"https:\/\/www.youtube.com\/user\/bluehost\",\"https:\/\/en.wikipedia.org\/wiki\/Bluehost\"],\"description\":\"Bluehost is a leading web hosting provider empowering millions of websites worldwide. \\u2028Discover how Bluehost's expertise, reliability, and innovation can help you achieve your online goals.\",\"telephone\":\"+1-888-401-4678\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/10831dc70a1c62c863a1c4a9c29bab6d\",\"name\":\"Sonali Sinha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/image\/e43d373d353faab495258cc02050f9d4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7d6e9369f950a3aea2b690863b1157badb4d22c2a7f75214c01da7e14e4036f5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7d6e9369f950a3aea2b690863b1157badb4d22c2a7f75214c01da7e14e4036f5?s=96&d=mm&r=g\",\"caption\":\"Sonali Sinha\"},\"description\":\"Sonali Sinha is a versatile writer with experience across diverse niches, including education, health, aviation, digital marketing, web development, and technology. She excels at transforming complex concepts into engaging, accessible content that resonates with a broad audience. Her ability to adapt to different subjects while maintaining clarity and impact makes her a go-to for crafting compelling articles, guides, and tutorials.\",\"url\":\"https:\/\/www.bluehost.com\/blog\/author\/sonali-sinha\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127\",\"position\":1,\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127\",\"name\":\"What is the default maximum upload file size in WordPress?\u00a0\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The default maximum upload size in WordPress varies based on your server configuration and hosting provider, but it is usually between 2MB and 64MB.\u00a0\u00a0\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502\",\"position\":2,\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502\",\"name\":\"How can I check my current maximum upload file size in WordPress?\u00a0\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You can check the current upload size limit by going to your WordPress dashboard, navigating to Media \u00bb Add New and looking for the maximum file upload size notice below the upload box.\u00a0\u00a0\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760\",\"position\":3,\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760\",\"name\":\"How to increase WordPress max upload file size limit?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You have the option to boost the upload size by contacting your hosting provider, editing the <em>php.ini<\/em> or <em>.htaccess<\/em> files, adding code to the <em>functions.php<\/em> file, or using a plugin like <em>WP Increase Upload Filesize<\/em>.\u00a0\u00a0\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172\",\"position\":4,\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172\",\"name\":\"What if I don\u2019t feel comfortable editing server files like php.ini or .htaccess?\u00a0\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"If you\u2019re not comfortable with editing code, the easiest way to increase the upload size is by using a WordPress plugin like <em>WP Increase Upload Filesize<\/em>. It allows you to increase the file size limit without dealing with complex server settings.\u00a0\u00a0\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318\",\"position\":5,\"url\":\"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318\",\"name\":\"What should I do if I still get an error message after increasing the upload limit?\u00a0\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"If you're still encountering errors after increasing the maximum file upload size, you may need to contact your hosting provider. They might have a maximum upload size limit set on their server, which needs to be adjusted.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Top Methods to Increase Maximum File Upload Size in WordPress","description":"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts\/90604\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase the Maximum File Upload Size in WordPress","og_description":"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.","og_url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/","og_site_name":"Bluehost Blog","article_publisher":"https:\/\/www.facebook.com\/bluehost\/","article_published_time":"2025-12-16T12:59:49+00:00","article_modified_time":"2025-12-16T13:00:05+00:00","og_image":[{"width":2400,"height":1351,"url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png","type":"image\/png"}],"author":"Sonali Sinha","twitter_card":"summary_large_image","twitter_creator":"@bluehost","twitter_site":"@bluehost","twitter_misc":{"Written by":"Sonali Sinha","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/"},"author":{"name":"Sonali Sinha","@id":"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/10831dc70a1c62c863a1c4a9c29bab6d"},"headline":"How to Increase the Maximum File Upload Size in WordPress","datePublished":"2025-12-16T12:59:49+00:00","dateModified":"2025-12-16T13:00:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/"},"wordCount":2549,"commentCount":0,"publisher":{"@id":"https:\/\/www.bluehost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png","keywords":["CMS","FAQs","How-To Guides","Tutorials"],"articleSection":["Troubleshooting","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/","url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/","name":"Top Methods to Increase Maximum File Upload Size in WordPress","isPartOf":{"@id":"https:\/\/www.bluehost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png","datePublished":"2025-12-16T12:59:49+00:00","dateModified":"2025-12-16T13:00:05+00:00","description":"Increase the maximum file upload size in WordPress with these easy solutions, from editing the php.ini file to using FTP and plugins.","breadcrumb":{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127"},{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502"},{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760"},{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172"},{"@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#primaryimage","url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png","contentUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/10\/WordPress-Image-Sizes_-Default-Image-Sizes-and-How-to-Customize-Them-1.png","width":2400,"height":1351,"caption":"Maximum File Upload Size"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.bluehost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/www.bluehost.com\/blog\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"How to Increase the Maximum File Upload Size in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.bluehost.com\/blog\/#website","url":"https:\/\/www.bluehost.com\/blog\/","name":"Bluehost","description":"","publisher":{"@id":"https:\/\/www.bluehost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bluehost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bluehost.com\/blog\/#organization","name":"Bluehost","url":"https:\/\/www.bluehost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bluehost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg","contentUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg","width":136,"height":24,"caption":"Bluehost"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bluehost\/","https:\/\/x.com\/bluehost","https:\/\/www.linkedin.com\/company\/bluehost-com\/","https:\/\/www.youtube.com\/user\/bluehost","https:\/\/en.wikipedia.org\/wiki\/Bluehost"],"description":"Bluehost is a leading web hosting provider empowering millions of websites worldwide. \u2028Discover how Bluehost's expertise, reliability, and innovation can help you achieve your online goals.","telephone":"+1-888-401-4678"},{"@type":"Person","@id":"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/10831dc70a1c62c863a1c4a9c29bab6d","name":"Sonali Sinha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bluehost.com\/blog\/#\/schema\/person\/image\/e43d373d353faab495258cc02050f9d4","url":"https:\/\/secure.gravatar.com\/avatar\/7d6e9369f950a3aea2b690863b1157badb4d22c2a7f75214c01da7e14e4036f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7d6e9369f950a3aea2b690863b1157badb4d22c2a7f75214c01da7e14e4036f5?s=96&d=mm&r=g","caption":"Sonali Sinha"},"description":"Sonali Sinha is a versatile writer with experience across diverse niches, including education, health, aviation, digital marketing, web development, and technology. She excels at transforming complex concepts into engaging, accessible content that resonates with a broad audience. Her ability to adapt to different subjects while maintaining clarity and impact makes her a go-to for crafting compelling articles, guides, and tutorials.","url":"https:\/\/www.bluehost.com\/blog\/author\/sonali-sinha\/"},{"@type":"Question","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127","position":1,"url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147767127","name":"What is the default maximum upload file size in WordPress?\u00a0\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"The default maximum upload size in WordPress varies based on your server configuration and hosting provider, but it is usually between 2MB and 64MB.\u00a0\u00a0","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502","position":2,"url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147818502","name":"How can I check my current maximum upload file size in WordPress?\u00a0\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You can check the current upload size limit by going to your WordPress dashboard, navigating to Media \u00bb Add New and looking for the maximum file upload size notice below the upload box.\u00a0\u00a0","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760","position":3,"url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147828760","name":"How to increase WordPress max upload file size limit?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You have the option to boost the upload size by contacting your hosting provider, editing the <em>php.ini<\/em> or <em>.htaccess<\/em> files, adding code to the <em>functions.php<\/em> file, or using a plugin like <em>WP Increase Upload Filesize<\/em>.\u00a0\u00a0","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172","position":4,"url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147836172","name":"What if I don\u2019t feel comfortable editing server files like php.ini or .htaccess?\u00a0\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"If you\u2019re not comfortable with editing code, the easiest way to increase the upload size is by using a WordPress plugin like <em>WP Increase Upload Filesize<\/em>. It allows you to increase the file size limit without dealing with complex server settings.\u00a0\u00a0","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318","position":5,"url":"https:\/\/www.bluehost.com\/blog\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/#faq-question-1730147843318","name":"What should I do if I still get an error message after increasing the upload limit?\u00a0\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"If you're still encountering errors after increasing the maximum file upload size, you may need to contact your hosting provider. They might have a maximum upload size limit set on their server, which needs to be adjusted.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"authors":[{"term_id":945,"user_id":147,"is_guest":0,"slug":"sonali-sinha","display_name":"Sonali Sinha","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/7d6e9369f950a3aea2b690863b1157badb4d22c2a7f75214c01da7e14e4036f5?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":"","11":"","12":"","13":"","14":"","15":""}],"_links":{"self":[{"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts\/90604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/users\/147"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/comments?post=90604"}],"version-history":[{"count":1,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts\/90604\/revisions"}],"predecessor-version":[{"id":260161,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/posts\/90604\/revisions\/260161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/media\/90446"}],"wp:attachment":[{"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/media?parent=90604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/categories?post=90604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/tags?post=90604"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=90604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}