# Reset your password

> If you forget your password, get a reset code by email and choose a new password on sansar.com.

If you forget your password, you can request a reset code by email and choose a new password on [sansar.com](https://www.sansar.com/forgot-password).

## Before you start

- You don't need to be logged in to reset your password. If you're already logged in, you can [change your password](/account/change-password) from your account pages instead.
- Make sure you can access the email inbox for your Sansar account. If you can't, [contact support](/help/contact-support).
- If you log in with Steam, use **Continue with Steam** instead; see [Log in with Steam](/account/log-in-with-steam).

## Request a reset code

1. Open [Forgot your password?](https://www.sansar.com/forgot-password), or select **Forgot password?** on the [login page](https://www.sansar.com/login).
2. Enter your email address in **Email**.
3. Select **Send reset code**. The button reads **Sending...** while your request is sent.

You see **Check your email**. If an account uses that address, you get an email with a confirmation code.

## Set a new password

1. On the **Check your email** screen, select **Enter confirmation code**. This opens **Reset your password** with your email address already filled in.
2. Check **Email** and enter your address if the box is blank.
3. Enter the code from your email in **Confirmation code**.
4. Enter a new password in **New password**. Your password must:
   - Be between 8 and 256 characters long
   - Include at least one letter (A–Z, a–z) and at least one number
5. Enter the same password again in **Confirm new password**.
6. Select **Reset password**. The button reads **Resetting...** while your password is updated.

## What happens next

You see **Password changed!** and "Your password has been changed successfully. You can now log in with your new password." Select **Log in** to open the login page and [log in to sansar.com](/account/log-in) with your new password.

## If something goes wrong

### You didn't receive a code

- Check your spam folder.
- Make sure you entered the email address on your Sansar account. sansar.com shows **Check your email** whether or not an account uses that address.
- Select **try again** on **Check your email**, or **Resend code** on **Reset your password**, to return to the request form. Enter or check your email address, then select **Send reset code**.

### Password or field errors

If an error message appears above the form, use the guidance below:

- **"Passwords do not match."** — Enter the same password in **New password** and **Confirm new password**.
- **"Password must be at least 8 characters."**, **"Password must be 256 characters or fewer."**, or **"Password must include at least one letter and one number."** — Adjust your password to meet the rules above.
- **"All fields are required."** — Fill in every field before selecting **Reset password**.

### Your code isn't accepted

If the code is wrong or no longer valid, the page shows an error message or "Password reset failed. Please check your code and try again." Check the code in your email and enter it again, or select **Resend code** to return to the request form, enter your email address, and select **Send reset code**.

### "Something went wrong. Please try again."

Try submitting the form again. If it keeps happening, [contact support](/help/contact-support).