# How do I recover orphaned stacks from a previously deleted environment?

Stacks from an environment that has been deleted will be labelled as orphaned stacks. When a new environment has been created within the same node, the orphaned stacks can be re-associated by following the below steps.&#x20;

1. Within the environment that you want to associate your orphaned stacks with, click **Stacks** in the left hand menu. At the Stacks list, click on the three dots in the top right corner and select **Show all orphaned stacks**. Your stack list will then update to include any orphaned stacks.

<div align="left"><figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2FXjPfljBXjowtkXyz3oIj%2FShow-orphaned-stacks-FAQ.png?alt=media&#x26;token=5229f1ae-da1e-4b24-ab59-bc4b2cfc1ff9" alt=""><figcaption></figcaption></figure></div>

2. Click into the stack that you want to recover, and select **Associate.**

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fx60WxzDjEREyO5daXuL2%2FOrphaned-stack-associate-FAQ.png?alt=media&#x26;token=2f7464e0-af0e-4618-a4cb-75fd2449cd73" alt=""><figcaption></figcaption></figure>

Your stack will now appear in your stack list with total control. Repeat this process for each stack you want to reassociate.
