diff --git a/templates/types/simple/fastapi/gitignore b/templates/types/simple/fastapi/gitignore
index 069fcb4020566da83dbc398c06dce5bbe92aface..a6ad564cd45eee8c8bd1fdc633d733d17b4a777a 100644
--- a/templates/types/simple/fastapi/gitignore
+++ b/templates/types/simple/fastapi/gitignore
@@ -1,2 +1,3 @@
 __pycache__
 storage
+.env
diff --git a/templates/types/streaming/fastapi/gitignore b/templates/types/streaming/fastapi/gitignore
index 069fcb4020566da83dbc398c06dce5bbe92aface..a6ad564cd45eee8c8bd1fdc633d733d17b4a777a 100644
--- a/templates/types/streaming/fastapi/gitignore
+++ b/templates/types/streaming/fastapi/gitignore
@@ -1,2 +1,3 @@
 __pycache__
 storage
+.env