Dagobah

"Strong this planet is with the Force.''" "''It is one of the purest places in the galaxy."

- Yoda and the spirit of Qui-Gon Jinn

Dagobah was a planet in the Dagobah system, and one of the purest places in the galaxy within the Force. A remote world of swamps and forests, it served as a refuge for Jedi Grand Master Yoda during his exile after the destruction of the Jedi Order. Luke Skywalker received advanced training in the ways of the Force under Jedi Master Yoda on Dagobah, and it was later the place of Yoda's death and transformation into the Force.

Description
"Yes, I'm sure it's perfectly safe for droids."

- Luke Skywalker, to R2-D2

Dagobah was located in the Sluis sector of the Outer Rim Territories.

Dagobah was a mysterious, mist-shrouded, swampy planet, mostly covered in swamps and bogs, interspersed with countless shallow lakes and lagoons and multiple living caves. The continental and oceanic crusts of Dagobah were only vaguely defined, and there was little in the way of volcanic activity or earthquakes. Dagobah was home to many creatures, such as bogwings, dragonsnakes, butcherbugs, sleens, vine snakes, and swamp slugs. Examples of flora included the Lahdia plant, the Yoghurt plant, Gnarltree and Yarum seed. The planet was devoid of any advanced or indigenous civilization of sentients.

Dagobah had two seasons, a dry season and a wet season. During the peak of the long dry season (over half an orbit after the rains end) the uplands become too hot for most lifeforms to survive, necessitating any that live there to migrate to the lower lands. Beneath the rapidly leafing canopies of the gnarltrees that emerge from the receding green and thick waters, the one inundated lowlands revert back to a marshy swamp once again. As the air grows more humid, the gray overcast clouds return and before another quarter orbit passes the planet is far enough away from it's sun that the dry season ends and the rains return, again flooding the lowlands and covering the trees in water, making the uplands habitable once more.

History
After his defeat at the hand of Sith Lord Darth Sidious following the formation of the Galactic Empire, Jedi Grand Master Yoda exiled himself to Dagobah.

Years later, Luke Skywalker of the Alliance to Restore the Republic traveled to Dagobah under the direction of former Jedi Master Obi-Wan Kenobi in hopes of finding Yoda and being trained in the ways of the Jedi Order. Skywalker crashed into a bog upon landing and happened upon the Jedi, though he was unaware it was in fact Yoda at the time. The old master took Skywalker back to his hut for dinner, where he revealed his true identity to Skywalker. Initially reluctant to train Skywalker due to his age and lack of patience, Yoda was eventually convinced to teach him by the the Force ghost of Kenobi.

Skywalker ended his training early, however, once he sensed his friends Han Solo and Leia Organa were in danger. Though Yoda and Kenobi attempted to reason with Skywalker to stay, the student left the planet, promising to return and finish his training. He would keep his word, and after saving Leia and Chewbacca from Darth Vader on Bespin and rescuing Solo from Jabba the Hutt on Tatooine, he would return to Dagobah to complete his Jedi training. Upon arriving, he found Yoda sick and dying, and the old master became one with the Force. The ghost of Kenobi then revealed to Skywalker the truth that Leia was in fact a Skywalker and Luke's sister before Luke left the planet to confront Vader and the Emperor in hopes of turning Vader back to the light side.

Behind the scenes
"A small escape pod hurls toward the swamp planet and disappears in the mist. The pod has landed, and YODA descends the ramp, surveying the unfamiliar terrain."

- Description of Dagobah's deleted scene from Episode III

Dagobah first appeared in the 1980 film Star Wars: Episode V The Empire Strikes Back.

Slated to appear in one scene of the 2005 film Star Wars: Episode III Revenge of the Sith, the planet was cut from the final film, leaving it for the DVD release. The scene featured how Yoda started his exile. George Lucas removed the scene so that the film would not have "too many endings", despite producer Rick McCallum's wishes.

In the 2016 reference book Star Wars: Complete Locations, an image of Dagobah was mistakenly used in the planet profile of Kashyyyk.

Non-canon appearances

 * Star Wars Epic Yarns: The Empire Strikes Back