diff --git a/windows/deps/Makefile b/windows/deps/Makefile
index 8e8f59d74cce4ee68b41af1cdbf361b9678e0854..bf9a2a993997ce8d09d345140b8105ffd82506a3 100644
--- a/windows/deps/Makefile
+++ b/windows/deps/Makefile
@@ -158,7 +158,7 @@ mingw64: tarballs/mingw-w64-x86_64-gcc-$(MINGW64_GCC_VERSION)-any.pkg.tar.zst ta
 
 tarballs/mingw-w64-x86_64-%-any.pkg.tar.zst:
 	mkdir -p tarballs
-	wget $(WGET_OPTIONS) -O $@ http://repo.msys2.org/mingw/x86_64/$(notdir $@)
+	wget $(WGET_OPTIONS) -O $@ https://www.dynare.org/windows-pkg-build/msys2/6.x/$(notdir $@)
 
 clean-msys2:
 	rm -rf lib64-msys2