- "Will you shut up and listen to me? Shut down all garbage mashers on the Detention Level, will you? Do you copy?"
- ―Luke Skywalker, to C-3PO
A garbage compactor, trash compactor, or garbage masher was a metal chamber used to store and compress waste. The walls would come together, compressing and crushing the garbage in the process.
Garbage compactors in the galaxy
- "What do we do with her?"
"Is there a garbage chute? Trash compactor?"
"Yeah, there is..."
- ―Finn and Han Solo, on Captain Phasma
When Luke Skywalker, Han Solo, and Chewbacca rescued Leia Organa aboard the first Death Star in 0 BBY, they were forced to blast their way into unit 3263827. Since garbage chute sensors identify types of waste and direct them to the right compactor, Luke, Han, Leia, and Chewbacca ended up in recyclable waste owing to their armor and weapons. Once inside, they were unable to leave because the door was magnetically sealed, preventing blaster bolts from penetrating. A dianoga attacked and almost killed Skywalker when it took him underwater. When the creature released Skywalker, the walls began to rumble and edge toward each other, threatening to crush the companions trapped inside the masher. However, they were saved when C-3PO, Skywalker's protocol droid, managed to have all the garbage mashers on the Detention Level shut down.
Thirty-four years later, during the Battle of Starkiller Base, Solo asked Finn, a former First Order stormtrooper who had sanitation duties at the base, if the location happened to have trash compactors. Finn used his knowledge to find one, and they forced their prisoner, Captain Phasma, down the garbage chute.
- Star Wars Epic Yarns: A New Hope
- LEGO Star Wars: The Freemaker Adventures – "Crossing Paths"
- LEGO Star Wars: The Freemaker Adventures – "Escape from Coruscant" (Mentioned only)
- LEGO Star Wars: Droid Tales – "Mission to Mos Eisley" (In flashback(s))
- LEGO Star Wars: The Force Awakens
- Star Wars: Absolutely Everything You Need to Know
- Star Wars: Geektionary: The Galaxy from A - Z
- Star Wars Encyclopedia of Starfighters and Other Vehicles
- Star Wars: How Not to Get Eaten by Ewoks and Other Galactic Survival Skills
- Star Wars: Build Your Own X-Wing 62 (Starfighter Aces: R2-D2 – Going Solo)