diff --git a/templates/banned.html b/templates/banned.html
index 666521a4..1a9a3915 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -88,7 +88,7 @@
{% endif %}
- {% if config.ban_appeals %}
+ {% if config.ban_appeals and (not ban.expires or ban.expires - ban.created > config.ban_appeals_min_length )%}