# Delete topics automatically after N days inside a category

**URL:** https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386
**Category:** Support
**Created:** [March 8, 2025, 10:44am UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386 "2025-03-08T10:44:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [March 8, 2025, 10:44am UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386/1 "2025-03-08T10:44:34Z")

</div>

Some topics have that rule of being locked 30 days after the last reply, so I would assume this is set on a Category level?  
Is it possible to do the same, but completely delete topics?  
I know I can set a timer on a topic, manually, but I can’t seem to find anything related to Categories. So for example I want all topics older than N days to be deleted completely. Is this possible?

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [March 8, 2025, 10:45am UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386/3 "2025-03-08T10:45:22Z")

</div>

> [@Auto-delete topics in a category after X days?](https://meta.discourse.org/t/auto-delete-topics-in-a-category-after-x-days/323451/6):
>
> I don’t think it’s possible to automate this currently through any existing tools, but we do have an open #feature request for it:

---

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [March 8, 2025, 11:01am UTC](https://meta.discourse.org/t/delete-topics-automatically-after-n-days-inside-a-category/356386/4 "2025-03-08T11:01:54Z")

</div>

On this reply:

> [@Delete Unreplied Topics plugin](https://meta.discourse.org/t/delete-unreplied-topics-plugin/163546/14):
>
> @RGJ based on multiple requests from other users: couldn’t this plugin of yours be used as the foundation for a new plugin that deletes topics in a particular category if they are older than N days, set by the user? If your plugin is already scanning topics, wouldn’t it possible to set some rules that say: If category is X, scan for topics where the creation date and the current date is more than N days, and if so, delete them. I don’t know the ins and outs of creating and changing plugins,…

I suggest that the plugin could be a foundation for a new plugin that does this, since a lot of users find this to be a useful feature.

The plugin is already something that can be used to delete some older topics, but if we could have a plugin set to delete topics, regardless of how old the replies are, that would be perfect!
