diff --git a/bilby_pipe/gracedb.py b/bilby_pipe/gracedb.py
index ff03b7ad4c70340718ab1d7ec59769e7388b40a8..e7b6c3d7c77d431f37dee14944ac53e4854bb265 100644
--- a/bilby_pipe/gracedb.py
+++ b/bilby_pipe/gracedb.py
@@ -323,7 +323,7 @@ def create_config_file(
         label=gracedb,
         outdir=outdir,
         accounting="ligo.dev.o3.cbc.pe.lalinference",
-        maximum_frequency=maximum_frequency,
+        maximum_frequency=min(maximum_frequency, 4096),
         minimum_frequency=minimum_frequency,
         sampling_frequency=16384,
         reference_frequency=100,