---
title: "End an A/B/n test"
slug: "end-an-a-b-n-test"
abstract: "How to end a live A/B/n test and choose the variant to keep as the default component."
---
# End an A/B/n test

You can manually end a live A/B/n test regardless of whether it has reached [statistical significance](https://doc.sitecore.com/sai/en/users/sitecoreai/a-b-n-testing/test-metrics-and-calculations.html#statistical-significance "Statistical significance"). When you end a test, you will keep only one of your variants. This variant will become your default component, and all visitor traffic will be redirected to it.

To end an A/B/n test:

1. In Page builder in **Editor** mode, open the page that contains the A/B/n test you want to end.
2. In the right-hand pane, click **End**.
3. In the **End test** dialog, select the variant you want to keep as your default component. If a winner is declared, you'll see it indicated on the list of variants to make your selection easier.
4. Click **Save** to end your test. A confirmation appears when the A/B/n test on the page has ended.

    Optionally, you can view analytics to track how the variants performed against each other.

5. Click **Publish**. The page is now published with your selected variant and will be visible to your visitors.