Connect any database. Ask in plain English.

Try free
← Blog

SQL Server Express: Free up to 50 GB a Database in 2025, Every Limit by Version (2026)

SQL Server 2025 Express is free, production use included, with a 50 GB database limit (10 GB in 2022 and earlier), four cores and a 1,410 MB buffer pool. Every Express limit by version, Express vs Developer vs Standard, what Standard costs, installing on Windows, Linux, Docker or a Mac, and what we measured: about 52 MB per million simple rows, so roughly a billion rows under the new limit.

Fastero Dev TeamFastero Dev Team2026-12-03

We read Microsoft's editions pages for SQL Server 2025, 2022 and 2019, the 2025 release notes, licensing guide and price list on 3 December 2026, then ran SQL Server 2025 Express (build 17.0.5065.9, cumulative update 11) in Docker on a Windows 11 laptop. We timed its start, counted the CPU threads it would use, watched its memory during a 1.8 GB scan, tried to grow a database past 50 GB, switched on SQL Server Agent, and measured what a million rows of an orders table take on disk.

The short answer: SQL Server Express is Microsoft's free edition, and you may run it in production. In SQL Server 2025 each database can hold up to 50 GB (10 GB in 2022 and earlier); the engine uses at most one socket or four cores, whichever is less, and a 1,410 MB buffer pool, plus 352 MB each for columnstore and memory-optimized data. Microsoft lists no SQL Server Agent for it. For development and testing without those limits, the Developer editions are free; Standard costs $3,945 per two cores, with a four-core minimum. Express runs on Windows, x64 Linux and Docker, but not natively on an Apple silicon Mac. Checked 3 December 2026.

Fastero

Connect your database. Ask questions. Get dashboards.

Postgres, BigQuery, Snowflake, and 10+ sources — live-connected, AI-powered, no dashboard builder learning curve.

Try free →

SQL Server editions compared: Express, Developer and Standard

From Microsoft's editions pages and SQL Server 2025 price list, read 3 December 2026:

Edition Price Largest database Compute limit Buffer pool
Express 2025 Free, production allowed 50 GB 1 socket or 4 cores 1,410 MB
Express 2022 and 2019 Free, production allowed 10 GB 1 socket or 4 cores 1,410 MB
Standard Developer 2025 Free, development and test only 524 PB 4 sockets or 32 cores 256 GB
Enterprise Developer 2025 Free, development and test only 524 PB Operating system maximum Operating system maximum
Evaluation 2025 Free for 180 days 524 PB Operating system maximum Operating system maximum
Standard 2025 $3,945 per 2 cores, or $989 a server plus $230 a user 524 PB 4 sockets or 32 cores 256 GB
Standard 2022 Same list prices 524 PB 4 sockets or 24 cores 128 GB
Enterprise 2025 $15,123 per 2 cores 524 PB Operating system maximum Operating system maximum

"Or" means whichever is less. Prices are Microsoft's open no-level US list prices. For Standard Developer, Microsoft's page points to Standard's column, so those limits are our reading. Web edition ended with SQL Server 2022, which stays supported until January 2033.

Bar chart of the largest database each free SQL Server option allows: Express 2025 and its LocalDB 50 GB, the Azure SQL Database free offer 32 GB, Express 2022 10 GB and Express 2019 10 GB

Largest database per free SQL Server option, from Microsoft Learn, read 3 December 2026. The Developer editions have no cap but can't be used in production.

SQL Server Express limits by version

Limit Express 2025 Express 2022 Express 2019
Largest database 50 GB 10 GB 10 GB
Compute Lesser of 1 socket or 4 cores Same Same
Buffer pool 1,410 MB 1,410 MB 1,410 MB
Columnstore segment cache 352 MB 352 MB 352 MB
Memory-optimized data per database 352 MB 352 MB 352 MB
Threads for batch mode 1 1 1
"With Advanced Services" download Merged into Express Separate Separate

The size limit is per database, so one instance can hold several 50 GB databases; the server we ran stated it as 51,200 MB. Microsoft's download page gives the memory limit as "1 GB memory", while its editions page says 1,410 MB of buffer pool; our measurement matches the editions page.

Per the 2025 feature tables, Express lacks SQL Server Agent and Database Mail; backup compression, encrypted backups and transparent data encryption; log shipping, failover clusters and availability groups; resource governor, change data capture, SQL Profiler and the Database Tuning Advisor. It keeps columnstore, In-Memory OLTP, row and page compression, partitioning, full-text search, row-level security, Always Encrypted, ledger, Query Store, and the JSON and vector types.

What changed in SQL Server 2025 Express

SQL Server 2025 became generally available on 18 November 2025, with mainstream support into January 2031. For Express, Microsoft's what's new page lists:

  1. The database limit rose from 10 GB to 50 GB. CPU and memory caps didn't change.
  2. Express with Advanced Services is discontinued: "Express edition now includes all features previously available in Express edition with Advanced Services", such as full-text search and machine learning integration.
  3. LocalDB comes with the Express download, instead of with Advanced Services or its own installer.

Developer edition also split into Enterprise Developer and Standard Developer, Standard rose to 32 cores and 256 GB, and Web edition was discontinued.

Express or Developer edition: which to pick

  • A production database under 50 GB for a small app, desktop program or internal tool: Express 2025.
  • Building or testing an app that will run on Standard or Enterprise: the matching Developer edition. Microsoft's licensing guide says each is "licensed solely for development, testing, and demonstration purposes. It cannot be used in a production environment, and any test data used must be removed before deploying the software for production use."
  • Production that needs Agent jobs, more than four cores or more than 1.4 GB of cache: Standard.
  • No server to run at all: the Azure SQL Database free offer, 10 databases of 32 GB per subscription with 100,000 vCore seconds a month each, compared with 22 other free tiers in our free database hosting guide. For open-source engines, see free Postgres and free MySQL.

Two traps. Microsoft's one-line container command, sqlcmd create mssql, always makes Developer edition, because "sqlcmd doesn't currently support the MSSQL_PID parameter when creating containers." And a container started without that variable runs Enterprise Developer, which we confirmed; that isn't licensed for production.

How much does SQL Server Standard cost?

From Microsoft's SQL Server 2025 price list:

  • Per core: $3,945 per 2-core pack, licensing every physical core "with a minimum of four Licenses per Physical Processor". A four-core server is $7,890.
  • Server + CAL: $989 a server plus $230 per user or device; ten users come to $3,289.
  • Subscription: $1,418 a year per 2-core pack. Pay as you go through Azure Arc: $73 a core a month.

Enterprise is $15,123 per 2-core pack. Express and both Developer editions are free downloads.

SQL Server Express download and install on Windows

SQL Server 2025 needs Windows 10 or Windows Server 2019 or later on an x64 processor, and .NET Framework 4.7.2. Express needs 512 MB of memory, 1 GB recommended; Microsoft Learn asks for 6 GB of disk, the download page 4.2 GB. We didn't run the Windows installer; these steps follow Microsoft's pages.

  1. On Microsoft's SQL Server downloads page, under SQL Server 2025 Express, choose Download now to get the 4.4 MB installer, SQL2025-SSEI-Expr.exe.
  2. Run it and choose to install now, or to download the media for an offline machine.
  3. Pick features; LocalDB is one of them.
  4. Install a client: SQL Server Management Studio 22 on Windows, or Visual Studio Code with the MSSQL extension on any OS. Azure Data Studio was retired on 28 February 2026; our Azure Data Studio guide compares its replacements.

SQL Server Express LocalDB

LocalDB is Express for a developer's Windows machine: it starts the engine on the first connection, runs as your own user and needs no setup. Connect to (localdb)\MSSQLLocalDB. Microsoft says "An instance of the SQL Server Database Engine started as the LocalDB has the same limitations as SQL Server Express", and adds its own: no remote management through SSMS, no FILESTREAM, no In-Memory OLTP, only local Service Broker queues. Use it for code and tests; for anything others connect to, install Express.

How to run SQL Server Express in Docker

The SQL Server image runs any edition, and MSSQL_PID=Express picks Express. We ran these in Git Bash on Windows 11 with Docker Desktop 29.5.2, with our container name, host port and password replaced by plain ones. The 3 GB memory cap makes the numbers easy to read.

docker run -d --name sql-express --memory 3g \
  -e "ACCEPT_EULA=Y" -e "MSSQL_PID=Express" \
  -e "MSSQL_SA_PASSWORD=<YourStrong!Passw0rd>" \
  -p 127.0.0.1:1433:1433 \
  mcr.microsoft.com/mssql/server:2025-latest

The image is a 476 MB download and 2.21 GB on disk. Over five fresh containers, the first query was answered a median of 14 seconds after the run command (13 to 30). Then ask the server what it is with the sqlcmd inside the image (-C trusts its self-signed certificate):

docker exec sql-express /opt/mssql-tools18/bin/sqlcmd \
  -S localhost -U sa -P '<YourStrong!Passw0rd>' -C -W \
  -Q "SELECT SERVERPROPERTY('Edition') AS edition,
      SERVERPROPERTY('ProductVersion') AS version,
      SERVERPROPERTY('ProductUpdateLevel') AS cu"
edition version cu
------- ------- --
Express Edition (64-bit) 17.0.5065.9 CU11
 
(1 rows affected)

"When you stop and remove a container, you permanently delete your SQL Server data in the container", so mount a volume at /var/opt/mssql to keep it. On a Linux server without Docker, SQL Server 2025 supports Red Hat Enterprise Linux 9 and 10 and Ubuntu 22.04 and 24.04: install the mssql-server package, run mssql-conf setup and choose Express.

Connect any database. Ask in plain English.

Start free →

What SQL Server Express used on our laptop

CPU. Docker had 16 logical processors, 8 cores with two threads each. Express took half:

docker logs sql-express 2>&1 | grep "logical processors"
2026-12-03 09:28:07.85 Server      SQL Server detected 1 sockets with 8 cores per socket
and 16 logical processors per socket, 16 total logical processors; using 8 logical
processors based on SQL Server licensing. This is an informational message; no user
action is required.

Four cores with hyperthreading gave Express 8 schedulers; a Developer container on the same laptop used all 16.

Memory. With the container capped at 3 GB, SQL Server sized itself to 2,458 MB, its default of 80%, and idled at about 490 MB. We then scanned a 1,779 MB, 34-million-row table:

Line chart of SQL Server Express memory during one scan of a 34-million-row, 1.8 GB table: cached data pages climb to the 1,410 MB cap and stay at 1,408 MB with AUTO_CLOSE off, fall to 0 MB once the connection closes with AUTO_CLOSE on, while the whole SQL Server process rises from about 490 MB to about 2,000 MB

Memory of SQL Server 2025 Express during one scan of a 1.8 GB table, two back-to-back runs, measured 3 December 2026.

The buffer pool does stop at its cap: cached pages rose at about 80 MB a second, touched 1,449 MB for a moment and settled at 1,408 MB, so the table never fit in memory. The process as a whole grew to about 2,010 MB, some 600 MB above the cap, because the cap covers only the buffer pool. Scans took 14 to 21 seconds (up to 59 while the laptop was busy), each on one thread by the server's query statistics, although 8 schedulers were online.

The surprise was AUTO_CLOSE. The database we created on Express came with it switched on (model had it off), and then "The database is shut down cleanly and its resources are freed after the last user exits." The cached pages vanished as soon as the scan's connection closed, and Microsoft adds that each such shutdown "clears the plan cache for the instance of SQL Server". For a database that apps use, turn it off:

ALTER DATABASE shop SET AUTO_CLOSE OFF;
SELECT name, is_auto_close_on FROM sys.databases WHERE name = 'shop';
name is_auto_close_on
---- ----------------
shop 0

SQL Server Agent. Microsoft's table says Express doesn't have it, but the Linux build didn't stop us: mssql-conf set sqlagent.enabled true and a restart started Agent on Express, and it ran a one-step test job. We wouldn't build on a feature the edition table excludes.

Rows per GB. We loaded 10 million rows into an eight-column orders table, then measured it:

CREATE TABLE dbo.orders (
  order_id    INT           NOT NULL PRIMARY KEY CLUSTERED,
  customer_id INT           NOT NULL,
  order_date  DATE          NOT NULL,
  product_id  INT           NOT NULL,
  quantity    SMALLINT      NOT NULL,
  unit_price  DECIMAL(10,2) NOT NULL,
  status      VARCHAR(10)   NOT NULL,
  region      VARCHAR(10)   NOT NULL
);
INSERT INTO dbo.orders WITH (TABLOCK)
SELECT value,
       CAST(value AS BIGINT) * 7919 % 200000 + 1,
       DATEADD(day, value % 1096, '2024-01-01'),
       CAST(value AS BIGINT) * 31 % 5000 + 1,
       value % 9 + 1,
       CAST(value AS BIGINT) * 13 % 50000 / 100.0 + 1,
       CHOOSE(value % 5 + 1, 'shipped', 'pending', 'delivered', 'cancelled', 'returned'),
       CHOOSE(value / 7 % 5 + 1, 'North', 'South', 'East', 'West', 'Central')
FROM GENERATE_SERIES(1, 10000000);
 
SELECT SUM(used_page_count) * 8192 / 1048576.0 AS used_mb
FROM sys.dm_db_partition_stats WHERE object_id = OBJECT_ID('dbo.orders');
(10000000 rows affected)
used_mb
-------
524.023437500
 
(1 rows affected)

The load took 13 to 52 seconds in two runs. We then rebuilt the table with row and with page compression, both allowed on Express, and copied it into a clustered columnstore index:

Storage, 10 million rows Size Bytes per row MB per million rows
Row store, no compression 524 MB 54.9 52.4
Row compression 376 MB 39.4 37.6
Page compression 241 MB 25.2 24.1
Clustered columnstore 107 MB 11.2 10.7

MB is 1,048,576 bytes. Dividing each limit by those bytes per row estimates how many such rows one database holds:

Grouped bar chart estimating how many orders rows fit in one Express database: uncompressed 195 million under 10 GB and 977 million under 50 GB; row compression 273 million and 1.4 billion; page compression 426 million and 2.1 billion; clustered columnstore 956 million and 4.8 billion

Estimate: bytes per row measured on 10 million rows in SQL Server 2025 Express (CU11) in Docker, 3 December 2026, divided into each size limit.

These are upper bounds: other tables, indexes and free space count too, and wide text columns cut them sharply.

The 50 GB line. Growing a file past it fails at once:

CREATE DATABASE limtest;
GO
ALTER DATABASE limtest MODIFY FILE (NAME = limtest, SIZE = 51201MB);
Msg 1827, Level 16, State 2, Server a86234724521, Line 1
CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database
size would exceed your licensed limit of 51200 MB per database.

SQL Server Express on a Mac (Apple silicon)

Not natively. "SQL Server container images are supported only on Linux hosts running on Intel and AMD x86-64 CPUs. Emulation or translation environments (for example, Rosetta 2, Prism, or QEMU) aren't tested or supported." The 2025 image we pulled has only an amd64 build, SQL Server for Windows installs on x64 only, and Azure SQL Edge, which once ran on ARM, was retired on 30 September 2025. Microsoft's alternatives:

  • The Azure SQL Database container, in public preview, with a native arm64 image, created from Visual Studio Code's MSSQL extension. It's free for local development with no Azure account, needs 4 GB of memory and 10 GB of disk, and runs the Azure SQL Database engine, not SQL Server. Not for production.
  • The Azure SQL Database free offer in the cloud.
  • Express on an x64 Windows or Linux machine, with Visual Studio Code or sqlcmd on the Mac as the client.

Where Fastero fits

Express has no supported Agent for a nightly report and nothing colleagues can open in a browser. Fastero is an AI and data platform where people and AI agents work together on a team's data, and SQL Server, Express included, is one of the databases it connects to. On the Free plan, with no end date and no card, you can:

  • Query it in a browser SQL editor on a saved connection, save the queries and chart them.
  • Build dashboards that refresh on a schedule, and email one on a schedule. Colleagues sign in to view; viewers are free.
  • Ask the AI chat, which writes and runs the SQL, paid from a balance that starts at $20.

Fastero does not host SQL Server. Your server must be reachable from the internet or through an SSH tunnel; an Express instance, container or LocalDB that listens only on your laptop's localhost, like the one in this post, can't be reached. Because Fastero runs in the browser, it works the same on a Mac. Plans: pricing.

FAQ

Is SQL Server Express free for commercial use?

Yes. Microsoft lists Express as a free download suited to development and production for desktop, web and small server applications. The limits are technical: 50 GB per database in SQL Server 2025, four cores and a 1,410 MB buffer pool.

What is the SQL Server Express database size limit?

50 GB per database in SQL Server 2025, and 10 GB in SQL Server 2022, 2019 and earlier. The limit applies to each database, so one instance can hold several. Our server refused to grow a file past 51,200 MB.

What's the difference between SQL Server Express and Developer edition?

Express is free for production but capped at 50 GB, four cores and 1,410 MB of buffer pool. Standard Developer and Enterprise Developer have every feature of Standard and Enterprise, but are licensed only for development, testing and demonstration.

Does SQL Server Express include SQL Server Agent?

Microsoft's 2025 feature table says no, as in earlier versions. On Linux we could switch it on and run a test job, but Microsoft doesn't list it for Express. The supported way to schedule work is Task Scheduler or cron calling sqlcmd, or a tool outside the database.

How much RAM can SQL Server Express use?

Its buffer pool, the cache of data pages, is capped at 1,410 MB, with 352 MB more for columnstore and 352 MB of memory-optimized data per database. The process uses more than that: in our test it reached about 2 GB while the cached pages stopped at the cap.

Can I run SQL Server Express on a Mac?

Not natively on Apple silicon: Microsoft supports SQL Server containers only on x86-64 hosts and not under Rosetta 2. Use the Azure SQL Database container from Visual Studio Code's MSSQL extension for local work, or connect to Express on a Windows or Linux machine.

Sources

Read on 3 December 2026:


Try Fastero free: connect a SQL Server Express database that's reachable from the internet or over SSH, then query it, chart it and schedule reports from it in the browser. No credit card required.

Ready to try it yourself?

Connect your database, ask questions in plain English, and get live dashboards — in under 2 minutes. No credit card required.

Follow Fastero on LinkedIn for new articles and examples.

Keep reading

Related articles

2026-12-03

Azure SQL Database Pricing: Free Tier Limits and 13 Monthly Costs, $0 to $736 (2026)

Azure SQL Database is free for up to 10 databases per subscription, each with 100,000 vCore-seconds, 32 GB of data and 32 GB of backups a month: about 28 hours at one vCore. Paid, East US list prices run from $4.90 a month for DTU Basic to $372 for an always-on 2-vCore database. We priced 13 setups from Microsoft's live price list with a Python script you can rerun for your own region.

azuresql-serverdatabase

2026-12-02

Free Database Hosting: 23 Free Tiers Compared, From 30 MB to 50 GB, and How Many Rows Fit (2026)

Every notable free database tier in one table, checked 2 December 2026: Postgres, MySQL, SQL Server, Oracle, MongoDB, Redis, SQLite-style and analytics databases, with storage from 30 MB to 50 GB, what pauses or is deleted when idle, and which need a card. We also loaded the same 2-million-row table into PostgreSQL, SQLite and DuckDB: 500 MB holds about 4 million rows in Postgres and 32 million in DuckDB.

databasefree-tierpostgres

2026-12-03

SSRS (SQL Server Reporting Services): No Version After 2022, Supported to 2033, and 7 Places Your Reports Can Go (2026)

SQL Server 2025 ships no SSRS: Microsoft moved on-premises reporting to Power BI Report Server, now included with SQL Server 2025 Standard and Enterprise core licenses. SSRS 2022 is supported to 11 January 2033 and SSRS 2019 to 8 January 2030. What each path costs, Microsoft's migration tools, and what we found inventorying 22 of Microsoft's own .rdl reports: 717 expressions, 66 datasets and 52 parameters.

ssrssql-serverpower-bi