Download Microsoft JDBC Driver for SQL Server
The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available on the Java platform. The driver downloads are available to all users at no extra charge. They provide access to SQL Server from any Java application, application server, or Java-enabled applet.
Version 11.2 is the latest general availability (GA) version. It supports Java 8, 11, 17, and 18. If you need to use an older Java runtime, see the Java and JDBC specification support matrix to see if there's a supported driver version you can use. We're continually improving Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
- Release number: 11.2.1
- Released: September 8, 2022
When you download the driver, there are multiple JAR files. The name of the JAR file indicates the version of Java that it supports.
If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please select Read in English at the top of this page. You can download different languages from the US-English version site by selecting available languages.
This release of Microsoft JDBC Driver for SQL Server is available in the following languages:
Microsoft JDBC Driver 11.2.1 for SQL Server (zip): Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish
Microsoft JDBC Driver 11.2.1 for SQL Server (tar.gz): Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish
To download previous releases, see previous Microsoft JDBC Driver for SQL Server releases.
Using the JDBC driver with Maven Central
The JDBC driver can be added to a Maven project by adding it as a dependency in the POM.xml file with the following code:
<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>11.2.1.jre17</version> </dependency>
Unsupported driver versions aren't available for download here. We're continually improving the Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
Submit and view feedback for