The `customers/reset_password` template renders the password reset page, which hosts the form to reset the password for a [customer account](https://help.shopify.com/manual/customers/customer-accounts).

> Tip:
> Refer to the [customers/reset_password template](https://github.com/Shopify/dawn/blob/main/templates/customers/reset_password.json) and its [main section](https://github.com/Shopify/dawn/blob/main/sections/main-reset-password.liquid) in Dawn for an example implementation.

<figure class="figure">
  <img src="/assets/themes/templates/customer-reset-password.png" style="width: 100%; max-width: 550px;" alt="An example of the customer reset password template in Dawn">
</figure>

## Location

The `customers/reset_password` template is located in the `templates` > `customers` directory of the theme:

```text
└── theme
    ├── layout
    ├── templates
    |   └── customers
    |     ├── reset_password.json
    |     ...
    ...
```

## Content

You should include the [password reset form](#the-password-reset-form) in your `customers/account` template or a section inside of the template.

> Tip:
> If you're using a JSON template, then any HTML or Liquid code needs to be included in a [section](/docs/storefronts/themes/architecture/sections) that's referenced by the template.


### The password reset form

The password reset form can be added with the Liquid [`form` tag](/docs/api/liquid/tags/form#form-reset_customer_password) and accompanying `'reset_customer_password'` parameter. Within the form tag block, you need to include the following:

<table>
  <thead>
    <tr>
      <th>Input</th>
      <th><code>type</code></th>
      <th><code>name</code></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Password</td>
      <td><code>password</td>
      <td><code>customer[password]</code></td>
    </tr>
    <tr>
      <td>Password confirmation</td>
      <td><code>password</td>
      <td><code>customer[password_confirmation]</code></td>
    </tr>
  </tbody>
</table>

For example:

```liquid

{%- form 'reset_customer_password' -%}
  {{ form.errors | default_errors }}

  <div class="password">
    <input
      type="password"
      name="customer[password]"
      id="password"
    >
    <label for="password">Password</label>
  </div>

  <div class="password_confirm">
    <input
      type="password"
      name="customer[password_confirmation]"
      id="password_confirmation"
    >
    <label for="password_confirmation">Confirm password</label>
  </div>

  <button>Reset password</button>
{%- endform -%}

```

## Usage

When working with the `customers/account` template, you should familiarize yourself with previewing the template. To preview the `customers/reset_password` template, perform the following steps:

1. Fill out the [password recovery form](/docs/storefronts/themes/architecture/templates/customers-login#provide-a-forgot-your-password-option) on the login page.

2. Check your email for the "Customer account password reset" email.

3. Click the link in the email. This will take you to the customer password reset page.