# How can I migrate users from DB to Auth0?

**URL:** <https://community.auth0.com/t/how-can-i-migrate-users-from-db-to-auth0/70301>\
**Category:** Get Help\
**Created:** [September 27, 2021, 11:44am UTC](https://community.auth0.com/t/how-can-i-migrate-users-from-db-to-auth0/70301 "2021-09-27T11:44:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhygliy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zhygliy/32/30546_2.png) [@zhygliy](https://community.auth0.com/u/zhygliy)\
**Post date:** [September 27, 2021, 11:44am UTC](https://community.auth0.com/t/how-can-i-migrate-users-from-db-to-auth0/70301/1 "2021-09-27T11:44:46Z")

</div>

I use Auth0 (with Auth0 database) for project version 2 creation. There is a very important question about user migration from the version 1 database. Is there some way to migrate all users saving existing passwords?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 27, 2021, 4:41pm UTC](https://community.auth0.com/t/how-can-i-migrate-users-from-db-to-auth0/70301/3 "2021-09-27T16:41:22Z")

</div>

Hi @zhygliy,

Thanks for reaching out to the Auth0 Community!

I understand that you would like to migrate users from one database to another within Auth0.

Unfortunately, exporting users by yourself with the Management API or User Import/Export extension does not include any information on the users’ hashed passwords. This is documented here: [https://auth0.com/docs/support/manage-subscriptions/export-data](https://auth0.com/docs/support/manage-subscriptions/export-data)

Therefore, I recommend that you create a [Support Ticket](https://support.auth0.com/) to request for your users’ hashed passwords to be exported.

After doing so, you can do one of the following to **import** these users into your Database version 2:

1. Use Auth0 [User Import/Export Extension](https://auth0.com/docs/extensions/user-import-export-extension)  
– Import these users into the Database version 2

2. Use Auth0 Management API [`/api/v2/jobs/users-imports`](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports) endpoint  
– Make a POST `/api/v2/jobs/users-imports` to import your users into the Database version 2

Please let me know you have any questions. I’d be happy to clarify.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 12, 2021, 4:42pm UTC](https://community.auth0.com/t/how-can-i-migrate-users-from-db-to-auth0/70301/4 "2021-10-12T16:42:16Z")

</div>

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