# Can I change the elastic built-in user password?

**URL:** <https://discuss.elastic.co/t/can-i-change-the-elastic-built-in-user-password/278573>\
**Category:** Elasticsearch\
**Created:** [July 13, 2021, 3:57pm UTC](https://discuss.elastic.co/t/can-i-change-the-elastic-built-in-user-password/278573 "2021-07-13T15:57:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [July 13, 2021, 3:57pm UTC](https://discuss.elastic.co/t/can-i-change-the-elastic-built-in-user-password/278573/1 "2021-07-13T15:57:24Z")

</div>

Hi, I was wandering if I can change the password of the elastic user. after its set trough bin/elasticsearch-setup-passwords ?

Thanks.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [July 13, 2021, 4:00pm UTC](https://discuss.elastic.co/t/can-i-change-the-elastic-built-in-user-password/278573/2 "2021-07-13T16:00:38Z")

</div>

Yes you can with [Kibana UI or API.](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-passwords.html#:~:text=After%20you%20set%20a%20password,or%20the%20Change%20Password%20API.)

> After you set a password for the `elastic` user, the bootstrap password is no longer active and you cannot use this command. Instead, you can change passwords by using the **Management \> Users** UI in Kibana or the [Change Password API](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 10, 2021, 4:01pm UTC](https://discuss.elastic.co/t/can-i-change-the-elastic-built-in-user-password/278573/3 "2021-08-10T16:01:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
