Deployment

Cloudflare Pages Free Plan Limits: 500 Builds, 20,000 Files, and a 2,100-Redirect Ceiling

“Unlimited bandwidth” is the phrase that gets repeated about free static hosts. It is also the least useful description of what you actually get. The constraints are elsewhere — in build counts, file counts, rule counts and retention windows — and Cloudflare publishes them in one table by plan. Reading that table is a better way to decide whether the free plan fits a project than reading any summary of it, including this one.

The figures below were read from Cloudflare’s limits page on 1 December 2026.

Builds

FreeProBusiness
Concurrent builds1 build at a time520
Builds per month5005,00020,000

A build times out after 20 minutes on every plan. Concurrent builds are counted per account, not per project — so several small projects pushing at once share the same concurrency limit.

The monthly number is the one that surprises people. A site with a preview deployment on every pull request can reach 500 builds well before the end of a busy month. If your workflow creates a build for every commit, count commits before assuming the allowance is generous.

Files and file size

A Pages site on the free plan can contain up to 20,000 files. Paid plans allow 100,000 per site, but only after setting PAGES_WRANGLER_MAJOR_VERSION=4 in the project settings — the higher limit is not automatic.

The maximum size of a single asset is 25 MiB. Cloudflare’s own guidance for anything larger is to put it in R2 and serve it from there, with a custom domain such as static.example.com if you want it under your own name. This matters for documentation sites, archives and image-heavy projects far more than it does for a small marketing site.

Functions are metered differently: requests to Pages Functions count toward the Workers plan’s request quota and CPU limits, while subrequests from a Function to bindings such as KV or Durable Objects do not count as additional Workers requests.

Custom domains and deployment retention

A Pages project on the free plan allows 100 custom domains. The limit is per project, not per account.

Deployments are kept for 30 days. After that, a deployment is deleted unless it is one of the 100 most recent — production and preview both count — or it is the current production deployment. When a deployment is deleted, its preview URL stops working and it can no longer be rolled back to. That is worth knowing before you treat a preview URL as a permanent artefact.

The two ceilings that appear in config files

These are the limits most likely to be hit accidentally:

FileFree-plan ceiling
_headers100 header rules; maximum 2,000 characters per header line
_redirects2,000 static redirects plus 100 dynamic redirects, 2,100 combined; 1,000 characters per rule

The documentation states the ceiling as: “A _redirects file can have a maximum of 2,000 static redirects and 100 dynamic redirects, for a combined total of 2,100 redirects, with a 1,000-character limit per rule.”

The header limit is enough for a normal site but not for one that sets per-path rules at scale. The redirect limit is the more dangerous one because a generated redirect file can cross it silently. I have written about status codes and rule order in redirects on a static site, and about which headers are actually worth setting in security headers a static site needs.

If you need more redirects than _redirects supports, Cloudflare points to Bulk Redirects. Above the header limit, the documented route is a Pages Function.

Deploying without a Git push

The limits page assumes a Git-connected build, but two official paths exist around it.

Deploy Hooks are unique webhook URLs. Cloudflare’s documentation says: “Each event source may obtain its own unique URL, which will receive HTTP POST requests in order to initiate new deployments.” It gives examples of triggering a deploy when a headless CMS changes content, running a custom CI pipeline that deploys only under chosen conditions, or using a scheduled trigger. The hook is created in the dashboard under Workers & Pages → your project → Settings → Build → Add deploy hook. I used this pattern in when a GitHub Actions job is skipped to explain why a skipped job can leave a deployment untriggered.

Direct Upload is for prebuilt assets. You build elsewhere, then run npx wrangler pages deploy <DIRECTORY> --project-name=<PROJECT_NAME> from the project directory with CLOUDFLARE_ACCOUNT_ID set. This uses no Pages build minutes at all, because Pages never runs the build — which is the relevant detail if you are close to that 500-per-month ceiling.

What happens at the limit

A limit is only meaningful if you know what happens when you reach it. Cloudflare’s limits page includes a route for asking for an adjustment: a limit increase request form, with the caveat that if the limit can be increased, Cloudflare contacts you with next steps. That wording matters — a published limit is not automatically negotiable.

The 100-project-per-account limit is the clearest example. The documentation says it “is not routinely increased”, and points instead to Workers for Platforms or Workers Static Assets if you need to deploy sites at that scale. In other words, the exit from that ceiling is a different product, not a support ticket.

For the other limits, the useful behaviour is to detect the approach before you hit it. A build counter in your CI output, a file count in your deploy script, and a redirect count generated alongside _redirects are cheap to produce and remove the surprise. This is the same principle as checking a bandwidth meter before the bill arrives — the number itself is uninteresting, but its trend is actionable.

What the limits table does not tell you

The limits page describes quantities. It does not describe what you are permitted to do with the plan — that belongs to Cloudflare’s terms, and I am not going to turn a legal document into a confident one-line answer here. If you are evaluating the free plan for a business site, read the service terms directly rather than trusting a hosting comparison article.

What can be said from the documentation is narrower and still useful: the free plan has a defined, published set of ceilings, and none of the ceilings discussed above is a bandwidth figure. For most small static sites the first limit actually reached is build count or file count, not bandwidth.

Check the table before you rely on a number

Every figure in this article is a snapshot with a date on it. Cloudflare changes limits by plan, and the higher file limit already requires an explicit environment variable rather than taking effect automatically. Open the current limits page, read the Free column, and use that as the source of truth.

Sources

Primary documentation only — the provider's own page, the specification, or the standard itself. Claims that rest on anything else are described in the text as a market pattern or an inference, not as documentation.

  1. Cloudflare Pages — Limits (builds, files, custom domains, header and redirect ceilings by plan)
  2. Cloudflare Pages — Deploy Hooks (unique webhook URLs that trigger a deployment on HTTP POST)
  3. Cloudflare Pages — Use Direct Upload with CI (deploying prebuilt assets with Wrangler)

Written by . Spotted something out of date? Tell us.