# What IP information does Discourse collect?

**URL:** <https://meta.discourse.org/t/what-ip-information-does-discourse-collect/281429>\
**Category:** Product Support\
**Created:** [October 6, 2023, 9:31pm UTC](https://meta.discourse.org/t/what-ip-information-does-discourse-collect/281429 "2023-10-06T21:31:51Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [October 7, 2023, 2:02pm UTC](https://meta.discourse.org/t/what-ip-information-does-discourse-collect/281429/6 "2023-10-07T14:02:46Z")

</div>

What it can be used for/how useful is the info aside…

Your Discourse site stores a user’s registration IP address for as long as the user exists on the site. It also stores a user’s ‘last IP address’, which is updated each time a user logs into the site. These IP addresses are removed from the site when a user is deleted or anonymized, though can be retained in the logs if the `log anonymizer details` site setting is left enabled.

IPs are also stored in the `topic_views` table, but only for anonymous users. That table also only records when a user/ip first views a topic, and not any subsequent ones.

---

_[View the full topic](https://meta.discourse.org/t/what-ip-information-does-discourse-collect/281429)._
