diff --git a/matlab/dynare_version.m b/matlab/dynare_version.m
index 0a99b0b82c68f02c18570045a7cc35adc254c69e..88fba63d384c12d958b37fe63a049ba61aac4bf7 100644
--- a/matlab/dynare_version.m
+++ b/matlab/dynare_version.m
@@ -28,4 +28,4 @@ function v = dynare_version
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-    v = '4.0rc1';
+    v = '4.0.0';
diff --git a/windows/dynare.nsi b/windows/dynare.nsi
index d57d4c96c57588d2148c0e37b81676c10e616694..3e1b1595ce2b590242e92876a52195b48d9f4eb1 100644
--- a/windows/dynare.nsi
+++ b/windows/dynare.nsi
@@ -10,7 +10,7 @@
 # - run "makensis dynare.nsi" to create the installer
 # - if there is no failure, this will create a file "dynare-VERSION-win32.exe" in the current directory
 
-!define VERSION "4.0rc1"
+!define VERSION "4.0.0"
 
 Name "Dynare ${VERSION}"