﻿---
title: Select and switch Kibana spaces
description: Switch between Kibana spaces from the global header. Control whether Kibana opens your last selected space when you log in, or shows the space selector.
url: https://www.elastic.co/elastic/docs-builder/docs/4023/deploy-manage/choose-and-switch-spaces
products:
  - Elastic Cloud Serverless
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Select and switch Kibana spaces
Switch between the spaces your roles allow. Switching spaces does not change your permissions.
You can also set whether Kibana opens your last space when you log in.

## Before you begin

You can open only the spaces that your roles grant access to.

## Switch spaces

1. Open the space selector from the [global header](/elastic/docs-builder/docs/4023/explore-analyze/find-and-organize/kibana-interface#global-header). Where you find it depends on your deployment type and version:
   - <applies-to>Elastic Cloud Serverless: Generally available</applies-to> Select the name of your project in the global header, then select your current space to open **My spaces**.
- <applies-to>Elastic Stack: Planned</applies-to> In spaces that use a solution view, select the name of your deployment in the global header, then select your current space to open **My spaces**. When the global header shows the name of your current space instead of a deployment name, selecting it opens **My spaces** directly.
- In all other cases, select the avatar of your current space in the global header to open the **Spaces** menu.
   ![The My spaces menu in the global header](https://www.elastic.co/elastic/docs-builder/docs/4023/deploy-manage/images/kibana-change-space.png)
2. Select the space you want to open.

The selected space opens.

## Understand what happens when you log in

If you can access only one space, Kibana opens it.
If you can access more than one space, Kibana does one of the following:
- <applies-to>Elastic Stack: Planned</applies-to> <applies-to>Elastic Cloud Serverless: Generally available</applies-to> Kibana can remember the space you last used and open it. If Kibana has no remembered space, or you no longer have access to it, Kibana asks you to select a space. A direct link to a Kibana app or object opens that destination. It does not send you to the remembered space.
- <applies-to>Elastic Stack: Generally available in 9.5</applies-to> The behavior depends on your deployment type:
  - On self-managed deployments, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes, Kibana can remember the space you last used and open it. If Kibana has no remembered space, or you no longer have access to it, Kibana asks you to select a space. A direct link to a Kibana app or object opens that destination. It does not send you to the remembered space.
- On Elastic Cloud Hosted, Kibana asks you to select a space. It does not persist your last space. The **Spaces preferences** user menu item is not available.
- <applies-to>Elastic Stack: Generally available from 9.0 to 9.4</applies-to> Kibana asks you to select a space.


## Change whether Kibana remembers your last space

<applies-to>
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available since 9.5
</applies-to>

<admonition title="Requirements">
  This preference is available on:
  - <applies-to>Elastic Cloud Serverless: Generally available</applies-to> Elastic Cloud Serverless projects
  - <applies-to>Elastic Stack: Planned</applies-to> Self-managed deployments, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and Elastic Cloud Hosted
  - <applies-to>Elastic Stack: Generally available in 9.5</applies-to> Self-managed deployments, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. It is not available on Elastic Cloud Hosted.
</admonition>

This personal preference is on by default. It controls whether Kibana opens your last space when you log in.
1. Open the user menu from the header.
2. Open the space preference settings. The menu item depends on your deployment:
   - <applies-to>Elastic Cloud Hosted: Generally available</applies-to> <applies-to>Elastic Cloud Serverless: Generally available</applies-to> Select **Spaces preferences**.
- <applies-to>Self-managed Elastic deployments: Generally available</applies-to> <applies-to>Elastic Cloud Enterprise: Generally available</applies-to> <applies-to>Elastic Cloud on Kubernetes: Generally available</applies-to> Select **Edit profile**.
3. Turn **Remember last selected space** on or off.
4. Save your changes.

The next time you log in, Kibana follows this preference. If the preference is off and you can access more than one space, Kibana shows the space selector.

## Related pages

- [Spaces](https://www.elastic.co/elastic/docs-builder/docs/4023/deploy-manage/manage-spaces)
- [The Kibana interface](https://www.elastic.co/elastic/docs-builder/docs/4023/explore-analyze/find-and-organize/kibana-interface)