---
title: '{% for … empty %}'
description: display text when for loop is empty.
date: '2026-08-02'
categories:
  - Template Tag
  - Logic
canonical: https://www.djangotemplatetagsandfilters.com/tags/for-empty/
doc_link: https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#for-empty
---

# {% for … empty %}

display text when for loop is empty.

## Documentation

[See **Empty Iterables** in `for` tag.](/tags/for/#empty-iterables)
