SQL Server versions and end-of-support dates

SQL Server versions run from SQL Server 2012 to SQL Server 2025, and each has its own release date, mainstream end, extended end and Extended Security Updates date. The table below lists all of them, checked against Microsoft's Lifecycle pages on 22 October 2026.

Latest SQL Server version and the next end-of-support date

The latest version of SQL Server is SQL Server 2025 (17.x), released on 18 November 2025. The next end-of-support date is 12 October 2027, when extended support for SQL Server 2017 ends. SQL Server 2016 passed its end-of-support date on 14 July 2026 and now gets security updates only through paid Extended Security Updates.

Leaving SQL Server

Move SQL Server databases to PostgreSQL

OSSeva does not patch SQL Server. It migrates SQL Server databases to PostgreSQL and then supports the PostgreSQL clusters.

See the SQL Server to PostgreSQL offer

By Matt Reynolds, VP Engineering. Dates from Microsoft's Lifecycle pages, cross-checked on endoflife.date.

Last reviewed

SQL Server versions, release dates and support end dates

Microsoft supports each SQL Server version for ten years: five of mainstream support and five of extended support, which carries security updates only. Extended Security Updates (ESUs) are a paid third stage that Microsoft has offered for SQL Server 2012, 2014 and 2016. Status is as of 22 October 2026.

SQL Server version history, checked 22 October 2026

VersionMajor buildReleasedMainstream endsExtended endsESUs endStatus
SQL Server 202517.018 Nov 20256 Jan 20316 Jan 2036None publishedMainstream support
SQL Server 202216.016 Nov 202211 Jan 202811 Jan 2033None publishedMainstream support
SQL Server 201915.04 Nov 201928 Feb 20258 Jan 2030None publishedExtended support, security updates only
SQL Server 201714.029 Sep 201711 Oct 202212 Oct 2027None publishedExtended support, security updates only
SQL Server 201613.01 Jun 201613 Jul 202114 Jul 202617 Jul 2029Past end of support, ESUs only
SQL Server 201412.05 Jun 20149 Jul 20199 Jul 202412 Jul 2027Past end of support, ESUs only
SQL Server 201211.020 May 201211 Jul 201712 Jul 20228 Jul 2025Unsupported, ESUs have ended

Sources: Microsoft Lifecycle pages for each SQL Server version and Microsoft's SQL Server ESU FAQ, cross-checked against endoflife.date. Microsoft lists SQL Server 2014 ESUs ending on 12 July 2027 on its Lifecycle page and Windows Server ESU page, and on 8 July 2027 in the ESU FAQ; this page uses 12 July 2027. Microsoft has published no ESU programme for SQL Server 2017 or later.

Latest SQL Server update for each version

The build number in @@VERSION shows whether an instance has the newest update for its version. These are the latest builds listed on endoflife.date for each version on 22 October 2026.

Latest build per SQL Server version, from endoflife.date

VersionLatest buildReleased
SQL Server 202517.0.5015.4 (CU9 + GDR)13 Oct 2026
SQL Server 202216.0.4305.5 (CU27 + GDR)13 Oct 2026
SQL Server 201915.0.4500.2 (CU32 + GDR)13 Oct 2026
SQL Server 201714.0.3560.2 (CU31 + GDR)13 Oct 2026
SQL Server 201613.0.6500.1 (SP3 + GDR)14 Jul 2026
SQL Server 201412.0.6449.1 (SP3 CU4 + GDR)10 Oct 2023
SQL Server 201211.0.7512.11 (SP4 + GDR)14 Feb 2023

How to check your SQL Server version

Connect with SQL Server Management Studio, Azure Data Studio or sqlcmd and run the query below. The first line of the result names the product, for example Microsoft SQL Server 2019, and shows the build number, such as 15.0.4xxx.x. The first two numbers of the build give the version: 17.0 is SQL Server 2025, 16.0 is 2022, 15.0 is 2019, 14.0 is 2017, 13.0 is 2016, 12.0 is 2014 and 11.0 is 2012.

The same query works on Windows and on Linux. In Management Studio you can also right-click the server in Object Explorer and open Properties, which shows the product version and edition. To tell which update an instance has, compare its full build number with the latest-build table above.

Version stringT-SQL
SELECT @@VERSION;
Version, service pack, update level and editionT-SQL
SELECT
  SERVERPROPERTY('ProductVersion')     AS product_version,
  SERVERPROPERTY('ProductLevel')       AS product_level,
  SERVERPROPERTY('ProductUpdateLevel') AS update_level,
  SERVERPROPERTY('Edition')            AS edition;

ProductLevel shows the service pack or RTM, and ProductUpdateLevel shows the cumulative update where one is installed. Edition matters for support: Microsoft offers ESUs for the Enterprise and Standard editions of SQL Server 2014 and 2016 only, not for Express, Web or Developer.

What end of support means for SQL Server, and what ESUs cost

Mainstream support ends first: after that date Microsoft ships security updates only, and a performance or functional bug gets no public fix. When extended support ends, Microsoft ships no updates for that version at all, and it will not take a support ticket for it. The databases keep running.

Microsoft sells Extended Security Updates for up to three years after the extended end date, for SQL Server 2014 and 2016 only. ESUs cover Critical security updates, released only when the Microsoft Security Response Center rates a vulnerability Critical. Microsoft's published pricing is built from the rules below. Per-core prices are on Microsoft's Azure Arc pricing page, which this page does not copy because they change.

How Microsoft charges for SQL Server ESUs

TermMicrosoft's published rule
Versions coveredSQL Server 2014 and SQL Server 2016. None published for 2017, 2019, 2022 or 2025.
EditionsEnterprise and Standard. Express, Web and Developer cannot subscribe.
Billing unitPer core, billed hourly through Azure Arc, with a four-core minimum per machine.
Core limitsStandard is capped at 24 cores. A physical-core ESU license for unlimited virtualization has a 16-core minimum.
Who can subscribeCustomers with Software Assurance or a SQL Server subscription, or pay-as-you-go billing through Azure Arc. Server+CAL licences without Software Assurance cannot.
Late startBilled back to the start of the current ESU year, so a late subscription still pays for the months missed.
Free ESUsSQL Server 2014 on Azure VMs and Azure VMware Solution. Not offered for SQL Server 2016.
Not includedNew features, functional improvements and general technical support. Support covers only issues with the updates themselves.

Sources: Microsoft Learn, "What are Extended Security Updates?", "Extended Security Updates FAQ" and "Extended Security Updates enabled by Azure Arc", read 22 October 2026.

Upgrade SQL Server or move to PostgreSQL

Most teams on SQL Server 2014 to 2017 have three routes. Upgrade to SQL Server 2022 or 2025, which restarts the support clock on Microsoft's licensing. Move the database to Azure SQL Managed Instance or Azure SQL Database, which Microsoft says never reach end of support. Or move the application to another database.

OSSeva does not support or patch SQL Server. If the application is a candidate to leave SQL Server, OSSeva assesses it, converts the schema and T-SQL, moves the data and then supports the PostgreSQL clusters, on infrastructure you control. Where an upgrade is the better answer, the assessment says so. Each route, version by version, is set out on the SQL Server end-of-life options page.

Questions

SQL Server versions: common questions

Book a 15-minute call

What is the latest version of SQL Server?

SQL Server 2025 (17.x), released on 18 November 2025. Mainstream support runs to 6 January 2031 and extended support to 6 January 2036. The newest update listed on endoflife.date at the time of writing is 17.0.5015.4, released on 13 October 2026.

Is SQL Server 2019 still supported?

Yes, in extended support. Mainstream support ended on 28 February 2025, so SQL Server 2019 now gets security updates only, until 8 January 2030. Microsoft has published no Extended Security Updates programme for it, so 8 January 2030 is the last date for fixes.

Is SQL Server 2017 still supported?

Yes, in extended support. Mainstream support ended on 11 October 2022, and security updates continue until 12 October 2027. Microsoft has published no Extended Security Updates for SQL Server 2017, so plan the upgrade or migration to finish before that date.

How do I check my SQL Server version?

Run SELECT @@VERSION; in Management Studio, Azure Data Studio or sqlcmd. The result names the product and gives a build number: 15.0.x is SQL Server 2019, 16.0.x is 2022 and 17.0.x is 2025. SERVERPROPERTY('ProductVersion') returns the build number alone, on Windows and Linux.

Get a quote

Running SQL Server and weighing a move to PostgreSQL?

Tell us the SQL Server versions and the applications on them. We say whether to upgrade or migrate for each one.

Only your email is required · An engineer replies within 1 business day · No commitment

Prefer to talk or read more first?