- "I used to believe that being a good soldier meant doing everything they told you. That's how they engineered us. But we're not droids. We're not programmed. You have to learn to make your own decisions."
Rex, formerly designated CT-7567, was a veteran Clone Captain, Clone Commander, and Advanced Recon Commando who commanded the Grand Army of the Republic's famed 501st Legion of clone troopers during the Clone Wars. Rex later served as a captain and commander within the Alliance to Restore the Republic during the Galactic Civil War. Rex participated in many battles over the course of the Clone Wars. As the captain of the 501st, Rex served as second-in-command to Jedi General Anakin Skywalker, whose bravery and unconventionality in battle he came to share. In addition to being a close friend of Skywalker, he also became friends with Skywalker's apprentice, Ahsoka Tano. He was close with Marshal Commander Cody, with their relationship mirroring that of their respective Jedi Generals, Skywalker and Obi-Wan Kenobi, whom Rex was also well acquainted with. Rex and his companions often worked together during the front-line campaigns against the Confederacy of Independent Systems.
Throughout his career, Rex proved to be an effective leader who truly cared for the men under his command, even as he began to doubt his own future—and those of his clone brethren—in the Republic. His leadership was put to the ultimate test at the Battle of Umbara, when he was forced to lead the 501st Legion under the obstinate and aggressive Jedi General Pong Krell, who was secretly a Separatist agent. Rex's experiences with Krell forced him to reappraise his rigid adherence to orders—however, this had not been the first time Rex had questioned his purpose and orders. A notable example had been during the Battle of Saleucami, when he allowed the clone deserter Cut Lawquane to stay out of the war. Rex used his combat skills and training to help train local insurgents on Onderon to emancipate their world. Rex's faith in the Republic was sorely tested by events such as the framing of Tano and the murder of his longtime friend and comrade Fives, who had gone rogue after unearthing an anti-Jedi directive that had been bred into all the Republic's clone troopers.
Fives's death led him to uncover his inhibitor chip, which enabled him and his longtime friend Ahsoka to escape Order 66 after the Siege of Mandalore. After living on Seelos with fellow Clone Commanders Gregor and Wolffe, Rex joined the Phoenix Cell and reunited with his old friend Tano. Rex also became a reliable ally of the Spectres rebel cell and forged enduring friendships with the Great Jedi Purge survivor Kanan Jarrus and his apprentice Ezra Bridger as well as the rest of the Ghost crew. During the early stages of the Rebellion, Rex would use his skills and knowledge to help advance the Rebel Alliance's cause. He was eventually promoted to the rank of commander and fought in the climactic Battle of Endor, which saw the first death of Emperor Palpatine, the redemption of his former Jedi General Anakin Skywalker, and the destruction of the second Death Star.
- 1 Biography
- 1.1 Early life
- 1.2 The Clone Wars
- 1.2.1 Early battles
- 1.2.2 Siege of Hisseen
- 1.2.3 Battle of Christophsis
- 1.2.4 Battle of Teth
- 1.2.5 Battle of Mimban
- 1.2.6 Skirmish on the Rishi Moon
- 1.2.7 Battle at Bothawui and Skytop Station
- 1.2.8 Battle above Quell and crashing on Maridun
- 1.2.9 Defense of Maridun
- 1.2.10 Battle of Orto Plutonia
- 1.2.11 Raid on Vindi's lab
- 1.2.12 Battle of Ryloth
- 1.3 The conflict draws on
- 1.3.1 First Battle of Felucia
- 1.3.2 Battle of Devaron
- 1.3.3 Second Battle of Geonosis
- 1.3.4 Battle of Saleucami
- 1.3.5 Skirmish on the Coronet
- 1.3.6 Skywalker's right-hand man
- 1.3.7 Battle of Kamino
- 1.3.8 Battle of Lola Sayu
- 1.3.9 Return to Felucia
- 1.3.10 Role on Mon Cala
- 1.3.11 Battle of Horain
- 1.3.12 Battle of Umbara
- 1.3.13 Battle of Kiros and Kadavo
- 1.3.14 Training Onderonian rebels
- 1.4 The end draws near
- 1.5 Striking against the Empire
- 1.6 Agent of the Rebellion
- 1.6.1 Joining the Rebellion
- 1.6.2 Wits versus discipline
- 1.6.3 Infiltrating the Imperial Interdictor
- 1.6.4 Escape from Garel
- 1.6.5 Trouble at Concord Dawn
- 1.6.6 Mission to Geonosis
- 1.6.7 Finding a new base
- 1.6.8 Defending Chopper Base
- 1.6.9 Losing Ahsoka
- 1.6.10 Heist at Reklam Station
- 1.6.11 Making peace with the past
- 1.6.12 Evacuation of Mykapo
- 1.6.13 The spectre of Maul
- 1.6.14 Mission to Geonosis
- 1.6.15 Rescuing Kallus
- 1.7 Alliance to Restore the Republic
- 1.8 Legacy
- 2 Personality and traits
- 3 Skills and abilities
- 4 Equipment
- 5 Behind the scenes
- 6 Appearances
- 7 Sources
- 8 Notes and references
- 9 External links
- "Come on, Rex, admit it. You've thought about what your life could look like if you were to also leave the army. Choose the life you want."
"What if I am choosing the life I want? What if I'm staying in the army because it's meaningful to me?"
"And, how is it meaningful?"
"Because I'm part of the most pivotal moment in the history of the Republic. If we fail, then our children, and their children, could be forced to live under an evil I can't well imagine."
- ―Cut Lawquane and Captain Rex talking in the second year of the Clone Wars
CT-7567, later and better known by his nickname "Rex," was, like the rest of his clone brothers, created from the genetic template of the Mandalorian bounty hunter Jango Fett on the planet Kamino. He was one of the first generation clones created for the Grand Army of the Republic. Grown to be among the greatest soldiers in the galaxy and a leader, Rex was given additional command training and was promoted to be a Clone Captain in the Grand Army of the Republic. Like other clone trooper officers, Rex was given ARC training. After his training was complete, Rex was assigned command of the 501st Legion's Torrent Company.
The Clone Wars
- "You… came for me."
"It should have been me who went in the first place."
- ―Captain Rex and Anakin Skywalker
Rex served in the Grand Army of the Galactic Republic to protect its citizens as part of his loyalty to the Republic. He participated in the First Battle of Geonosis, fighting the Confederacy of Independent Systems' massive force of battle droids. Rex and his clone troopers fought well and earned veteran status in the Republic Army. Throughout the war, Rex's reputation continued to grow, eventually resulting in the captain becoming considered the hero of the clone army. Despite only being a captain, Rex was assigned leadership of the 501st itself.
Rex and his legion were placed under the command of the recently-knighted Jedi General Anakin Skywalker, with Rex being assigned as Skywalker's first in command. The clone captain was eager to follow orders but became less tightly wound in time. He also worked alongside Commander CC-2224 "Cody" at incidents such as Tibrin. He also came to meet and befriend clone commando CC-5576-39 "Gregor." At some point, Rex gained Jaig Eyes on his helmet, which was a combat honor.
Rex participated in the Battle of Arantara, but was found wounded and unconscious by General Skywalker. Rex expressed surprise that Skywalker had come back for him, to which Skywalker responded that it should have been him in his place and that a leader always leads from the front. At another point, Rex and other clones were confronting a large force of enemies. The clone captain ordered Squad 2 to pick their targets and, after another clone exclaimed that there were too many opponents, warned Gold Six to watch their stabilizer. Rex also ordered another individual to watch out for what was happening at their left.
Rex, Skywalker, and several of his men undertook a mission to Benglor. There, they ran into a creature that ate several droids and clone trooper "Bellow." Rex ordered a retreat, but clone trooper "Hardcase" disobeyed orders and turned his Z-6 rotary blaster cannon on the creature. Skywalker later saved Hardcase.
Siege of Hisseen
Rex, along with his 501st, Cody's 7th Sky Corps, and Commander Wolffe's 104th Battalion were sent to Hisseen. There, they protected the Hisseenians from the Separatist Droid Army. After Generals Skywalker, Obi-Wan Kenobi, and Plo Koon finished the last of the droids, Rex and the rest of the Republic forces continued to protect the Hisseenians. Rex and his troops continued to handle the droids while Cody and Wolffe's troops rescued the Hisseenian parliament.
Battle of Christophsis
- "So if you're a captain, and I'm a Jedi, then technically I outrank you, right?"
"In my book, experience outranks everything."
- ―Ahsoka Tano and Rex
Sometime after the siege of Hisseen, Rex accompanied Skywalker, Kenobi, Cody, and the rest of the Republic forces in their effort to liberate Christophsis from Confederate forces under General Whorm Loathsom and Count Dooku's assassin, Asajj Ventress. The captain took part in setting up an ambush on the approaching Separatist forces, but Kenobi and Cody were ambushed themselves. Skywalker rushed to his master's aid with Rex and his men alongside him. Fleeing to the rooftop, they held off the battle droids until evac arrived in the form of a LAAT/i gunship, with clone trooper Gus removing the commanding tactical droid's head before departing. Rex assisted Cody in performing a robolobotomy on the droid's head, discovering that it contained all of their intelligence. Surmising that this meant there was a spy in their midst, Skywalker and Kenobi departed to investigate the Confederate headquarters, hoping this would reveal the spy's identity. Rex and Cody were instructed to conduct their own search at the Republic base.
As they were leaving the command center, Cody noticed that someone had left their comlink on; their entire conversation had just been broadcast to the Separatist spy. Rex spotted someone in the corridor, and he and Cody gave chase. However, they lost him in the busy mess hall. They now realized the spy was a clone. Unable to reach the Jedi as a result of blocked communications, Rex had R2-D2 analyze the communication history to see if anyone had sent any unauthorized transmissions. He noticed irregular wavelengths that were too low and infrequent to be detected normally, wavelengths that were coming from Sergeant Slick's barracks. They proceeded to question Slick's men, all of whom had an alibi except Chopper, who lied about collecting battle droid fingers. However, Slick slipped when he revealed that he knew the Jedi were gone, drawing the suspicion of the entire group. Slick realized he was blown and fled, evading Rex and Cody while also blowing up the nearby weapons depot as well as many of the LAAT/i gunships and AT-TE walkers.
Following a lead from Gus and Chopper, Rex and Cody ventured back to the command center. There, they noticed boot prints that trailed up towards the vents. Without a word between the two of them, Rex and Cody devised a trap; Rex pretended to leave the room, while Cody stood with his back to Slick's hiding spot as well as his blaster. Slick slid out of the vents and pointed the weapon at the back of Cody's head, but is shocked to learn that the blaster was empty, as Cody took the clip out beforehand. After a short fistfight, Rex and Cody subdued Slick, just as the Jedi returned from their fruitless trip to the Separatist headquarters. Skywalker verbally rebuked Slick for placing his brothers at risk, and Slick replied with an attack on the Jedi's enslavement of his brothers, the clones. Despite Slick scorching the entire weapons depot, Rex and Cody noted that they were able to save the heavy cannons.
As Loathsom's droid army moved in on their positions, Rex and his men accompanied Skywalker as he took on the tri-droids. Soon after, Rex met Skywalker's new Padawan apprentice, Ahsoka Tano, laughing as she called Skywalker "Skyguy." For laughing, he was told to show her the ropes as a commanding officer, offering her advice and valuable leadership experience. He also stated that while she may outrank him, experience outranks everything.
Rex soon spotted the deflector shield being used by the incoming Confederate forces, rendering their cannons useless. After conferring with Kenobi, Cody, and Rex, Skywalker and Tano left to destroy the deflector shield, while Rex assisted Kenobi in holding back the droids before they could destroy the heavy cannons. As Kenobi led a charge against the droids, Rex and his men drew the droids into the buildings, making the fight more manageable for the clones. Despite this, most of Rex's unit was wiped out, and he was soon ordered to pull back his forces in order to protect the cannons. As Kenobi delayed Loathsom with a drawn-out surrender, Rex noticed the shield drop just in time and ordered the cannons to finish off the tanks, ending the battle. The battle had only been the beginning of the long partnership between Rex and what would prove to be a tightly knit group of Jedi consisting of Kenobi, Tano, and Skywalker. Through this partnership, Rex would learn his opinions were valued.
Battle of Teth
- "Surrender, Republic dogs!"
"We've got you outnumbered!"
"Outnumbered? Wait. One, two, three—"
- ―A B1 battle droid and Captain Rex
Rex, alongside Skywalker, Tano, and the rest of Torrent Company, went to Teth to rescue Jabba the Hutt's son, Rotta. They used their ascension cables to climb the cliffs to the monastery under fire from two droid battalions. Rex and his men secured the monastery. After Skywalker and Tano found Jabba's son, Separatist vulture droids attacked as two Separatist landing craft deployed more battle droids under the command of Ventress. Rex and his men retreated into the monastery.
Rex and his men stayed behind to keep the battle droids busy. After Ventress cut the door's lock, Rex and his men fought the droids, but the droids subdued his men. Rex picked up his pistol and tried to shoot Ventress, who disarmed and Force-choked him, demanding the location of Skywalker. Rex refused, but Ventress used a mind trick to make him contact Skywalker. However, because Rex broke protocol by calling Skywalker by his first name, Skywalker realized that Ventress was coming.
After the clone captain and his surviving troops were taken to the courtyard, Skywalker contacted Rex, so a battle droid came over to investigate. Rex punched the unit and took its weapon. Rex and his troops then fought the droids guarding them. As they were surrounded, help arrived from Kenobi and Cody. After destroying a spider droid with a detonator, Rex told Skywalker they could take care of themselves and that the mission came first. Rex then went with Kenobi, Yoda, and Cody to pick up Skywalker and his apprentice from Jabba's Palace on Tatooine.
Battle of Mimban
- "501st advance! Mud jumpers, back up General Laan Tik."
- ―Rex, during the Battle of Mimban
Rex later fought in the Battle of Mimban along with the Mud Jumpers of the 224th Division and his troopers in the 501st. Jedi General Laan Tik led Republic forces in the battle until he was killed. Afterward, Junior Representative Jar Jar Binks became the highest-ranking member despite having no combat experience, and the chain of command fell to him.
After the Republic fell back to their camp, Rex spoke with several of his troopers about the location of the droids' shield generator. Knowing that it was a suicide mission, Rex decided to call in an exfil shuttle to pull his men out. Rex decided to undertake the mission by himself but was followed by one of his troopers and Representative Binks. Rex then attacked and fought the battle droids for several hours until he was shot and pushed to the ground. He was saved by Representative Binks, who used Tik's lightsaber. Despite saving his life, Rex took Tik's lightsaber and gave a blaster to Binks. The two of them continued to fight the droids.
Skirmish on the Rishi Moon
- "Permission to take point, sir?"
"I'm always first, kid."
- ―Fives and Rex
Rex went with Cody on an inspection tour on the Nu-class transport Obex. After inspecting the tracking station at Pastil, Rex and Cody went to the Rishi Moon station. En route, Rex contacted the station. Rex noticed something odd about the trooper's reluctance to their inspection. After landing, Rex and Cody were greeted by another trooper who said that the base was fine and asked them to leave. Rex demanded to be taken to the sergeant in command after the disguised droid said "roger roger." When the survivors of the station launched a droid attack flare, Rex realized that the clone trooper in front of them was actually a droid and promptly shot it in the head, much to Cody's surprise. Rex told him to relax and removed the clone trooper's helmet, revealing it to be a BX-series droid commando. They then came under attack by more commando droids that cut them off from the Obex. Rex and Cody jumped off the platform as the commando droids threw detonators at them. They used their ascension cables to climb down.
They met the surviving troopers, CT-5555 "Fives," CT-782 "Hevy," and CT-1409 "Echo," who at first they ordered to remove their helmets to prove they weren't droids. After removing their helmets, they came under attack by a Rishi eel, but Rex shot it in the eye. Rex marked Echo with the eel's blood and realized that they were "shinies," clones that had not fought before. He wanted to show them a taste of battle and brought them back up to the platform. As they did not have the equipment to bypass the blast doors, Rex devised a plan to act as a malfunctioning droid commando; Cody believed that the plan was absurd, but Rex persuaded the droids inside to open the door. Rex, Cody, and the rest of the clones then stormed the command center, taking out the commando droids. They spotted a Confederate fleet approaching, but were unable to contact the Republic.
When a landing craft came down, Rex said they would blow up the station so that the Republic fleet would arrive to investigate. Rex rigged the gas detonators as Cody and others held up the battle droids. However, the remote detonator was not working. Rex and the others left while Hevy fixed the detonator. However, Hevy refused to leave, intending to set the gas off manually. Rex and the others tried to go back for him, but Hevy blew up the station along with himself. Rex and the others were rescued by a gunship. After Echo and Fives received medals for their bravery, Rex accepted them into the 501st Legion.
Battle at Bothawui and Skytop Station
- "Rex, ol' boy, it's time to join the party."
"With pleasure, sir!"
- ―Rex beginning the ambush onto the Separatist ships
After the loss of the Falleen battle group, Rex, Skywalker, Tano, and their fleet were sent to protect Bothawui. Rex and the fleet's AT-TEs were deployed on the asteroids surrounding Bothawui. As General Grievous's fleet moved in to attack Skywalker's fleet, Rex and the AT-TE opened fire on the rear of the enemy fleet. Rex saved Skywalker when his fighter was damaged, then stayed with Ahsoka as Skywalker searched for Grievous's spy station. When Rex and Ahsoka detected Skywalker's tracking signal, they took the Twilight and rescued Skywalker from Grievous's forces.
Rex assisted Skywalker in his search for the listening post. After receiving a message from R2, Rex, Denal, and his squad accompanied Skywalker in destroying the station in the Ruusan system. Rex also carried R3-S6 down to the station. Rex, Ahsoka, R3, and the rest of the squad were sent to destroy the station's reactors while Skywalker searched for R2. However, R3 slowed them down, leading to a confrontation between super battle droids. They subdued the droids, but Rex, Ahsoka, and the squad were then confronted by General Grievous. Rex and his squad tried to shoot, but all were killed except Rex and Denal. As Rex was about to be killed, he was saved by Ahsoka, who ordered Rex and Denal to complete their mission without her. Rex and Denal rigged the reactors and rendezvoused with Skywalker and the Twilight in the landing bay. However, Rex and Skywalker realized that R3 was a spy when he summoned super battle droids and vulture droids to attack them. Rex destroyed the reactors, and they were joined by Ahsoka and made their escape, with Skywalker rescuing R2.
Battle above Quell and crashing on Maridun
- "Captain Rex, keep your locator on. We should be back by day break with whoever, or whatever lives on this planet."
"Got it, General Secura. Hey kid, good luck."
- ―Secura and Rex, with Rex saying the final part to Ahsoka
Later during the conflict, Rex joined Skywalker, Tano, Admiral Wullf Yularen, and several other clone troopers on a mission to the planet Quell, where Jedi General Aayla Secura and her clone commander, Bly, were fighting a Separatist opposition. With Secura's cruiser damaged, the Republic forces were in a hurry. After breaking through a line of rocket super battle droids, they landed on Secura's ship, where Skywalker was injured in an explosion on the exploding ship. With fellow troopers Cameron, Flash, and Lucky, Rex, Tano, Secura, Bly, and Skywalker escaped on a transport vessel. However, they were hit and entered hyperspace. Their ship then crash-landed on the planet Maridun.
Rex stayed behind to look after Skywalker while Secura, Bly, Ahsoka, and the other troopers went to look for help. Rex fought the mastiff phalones alongside Skywalker until Bly, Ahsoka, and the Lurmen healer Wag Too came to his aid. Rex and his fellow clones and Jedi quickly discovered that Maridun was home to a Lurmen village.
Defense of Maridun
Rex watched for any spacecraft, hoping for rescue. Rex soon spotted a Confederate landing ship coming toward the village. He informed Bly of this, and they escaped from the village before the battle droids arrived. Rex and the others planned to steal a shuttle but were spotted by a recon droid. They pursued it until Secura destroyed it. Rex and the others then watched as General Lok Durd prepared to test his weapon. Rex went with Bly to get a closer look at the weapon. Rex and Bly then ran to avoid the weapon's shock wave using their grapnel lines.
After Durd left, Rex worked with Bly and Skywalker to infiltrate Durd's base, where they stole a shuttle and shield generators. Rex and the group returned to the village, where Skywalker, Bly, and he built a wall to withstand, much to Tee Watt Kaa's disapproval. Rex and Bly activated the shield as the Defoliator fired its weapon. Rex and the others stood their ground until the droids breached the shields and destroyed it. Luckily, Rex, Bly, and the others then had help from the Lurmen, and subdued and captured Durd. As Rex was taking Durd, Republic cruisers arrived to rescue them.
Battle of Orto Plutonia
Rex accompanied Generals Kenobi and Skywalker, Pantoran Senator Riyo Chuchi, and Chairman Chi Cho to Orto Plutonia. There, they investigated Glid Station to ascertain what happened to the troopers. Rex and the Jedi went to a Confederate outpost, where they saw a hologram of a creature attack the battle droids. Rex returned to the station, where he and his troops waited for the Jedi's return. Rex and his troops then went with the Jedi, Chairman Cho, and Senator Chuchi to speak with the Talz Chief, Thi-Sen, at the Confederate base. After the meeting, Rex was charged with protecting the Chairman when he decided to attack the Talz. Rex, his troopers, Cho, and his guards were surrounded by the Talz. When Cho was mortally wounded, Rex and his men retreated, carrying the Chairman with him. Rex formed a defense line near a cliff and held out until Skywalker, Kenobi, Chuchi and the rest of the troops arrived.
Raid on Vindi's lab
- "We may be dead men, but we can still stop those droids."
- ―Rex, to Ahsoka upon being contaminated with the virus
Rex was sent to Naboo to assist Skywalker and Kenobi to stop Confederate scientist Dr. Nuvo Vindi from deploying bombs laden with the Blue Shadow Virus. Rex fought alongside Commander Tano in fighting their way through Vindi's lab. They stopped Vindi's droid from unleashing the virus.
However, LEP-86C8 stole a vial and triggered one of the bombs, contaminating the labs. Though Rex and his troopers sealed the lab, they were infected with the virus. Alongside Senator Padmé Amidala and Binks, they destroyed all the droids and stopped them from unleashing it on Naboo. Skywalker and Kenobi administered a cure to them and saved them.
Battle of Ryloth
Rex, along with Skywalker, Tano, and Yularen, took the Resolute and their fleet to Ryloth to break the Confederate blockade. After their failed first attack, Rex and Skywalker gave Master Windu their progress report. After telling Tano that Skywalker wished to speak with her about their next attack, he oversaw the evacuation of the Defender. Skywalker left Tano in command of the Resolute. Rex and one of the navigation officers worked with Ahsoka to plan a way to eliminate the remaining blockade forces. At first, Rex and the officer were worried that Tano's maneuver would not work but went along when Yularen agreed to it. After Skywalker destroyed the Confederate command ship, Rex, Yularen and the navigation officer maneuvered the Resolute into the attack position. They watched as Tano and her bombers destroyed the remaining forces. Rex sent a ship to pick up Skywalker's and R2's pod as Kenobi's and Windu's forces landed.
The conflict draws on
First Battle of Felucia
- "Come on, grunts! We are leaving!"
- ―Rex yelling for his men to retreat
Rex, Cody, Kenobi, Skywalker, Tano, and their forces eventually found themselves combating the droid army on the strategic planet of Felucia. Republic forces became based in a jungle clearing, and Tano was tasked with a jungle patrol to combat the Separatist forces. As Tano led her troops against droid forces, the droid army located and surrounded the Republic position. Republic forces were soon overwhelmed, and their only hope for survival became a group of Republic gunships called to evacuate them under the command of General Plo Koon. As droid forces surrounded Rex and the others, Koon, his starfighters, and his gunships fought through the Separatist blockade.
The ships were followed to the planet by vulture droids, and the destruction and crash of one of the droid starfighters alerted Rex and the others to the arrival of the gunships. The clones fired at the approaching droids as Rex and the other Republic leaders led them to the ships. Rex called for all troops to leave, and after all of the forces boarded, they went to locate Tano. Tano did not want to leave, and she said the Separatists were retreating. Skywalker argued that the droids were regrouped and about to overrun her as Rex and the others did their best to fight out the droids. Skywalker ordered her and her clones to evacuate, and as all Republic forces lifted off, the regrouped droid army decimated Tano's abandoned vehicles.
Battle of Devaron
Rex went with Skywalker and Tano to Devaron to stop the bounty hunter Cad Bane from taking the Kyber memory crystal from Master Bolla Ropal. Rex gathered three brigades to board Bane's ship. Rex approved of Skywalker's idea of using the AT-TEs to board Bane's ship. Rex, Skywalker, Tano, and their troops were successful in boarding the ship, though they did not save Master Ropal. Rex and the others found Bane on the gun deck. Rex and his men fought the battle droids while Skywalker and Tano pursued Bane. They secured a shuttle and waited for Skywalker and Tano to return. When they returned, Rex watched as "Denal" shot Bane.
After returning to the Resolute, one of Rex's men spotted blood. Rex told Skywalker the blood was not from one of his men. Rex and Skywalker then realized that Denal was actually Bane in disguise, but he escaped.
Second Battle of Geonosis
Rex fought with Skywalker, Tano, and his troops when the Republic returned to Geonosis. After Skywalker's gunship was shot down, Rex and the others continued towards Kenobi's position on foot. Rex assisted Skywalker and Tano in taking out a droid fortress blocking their path. After the fortress was destroyed, Rex, Skywalker, Mundi, Tano, and the rest of their forces rendezvoused with Kenobi and Cody.
Rex fought alongside, Skywalker, General Luminara Unduli, and Commander CC-1004 "Gree" and their troops to distract Poggle's forces while Tano and Barriss Offee infiltrated the droid foundry. At first, they drove back the battle droids. However, Rex, Gree, and their troops were forced to fall back when Poggle sent in Super tanks to finish them off. After the foundry was destroyed, Rex brought in their tanks and gunships to search for Tano and Offee. Rex then saw Tano and Offee leave to recuperate.
Rex accompanied Skywalker, Kenobi, Unduli, and Mundi to deliver Poggle to Coruscant. Rex stayed alert when Tano and Offee failed to check in on time. Rex then contacted Tano and informed Skywalker of this.
Battle of Saleucami
- "Rex is a smart man."
"Indeed. Always thinking on his feet."
- ―Commander Cody and Obi-Wan Kenobi on Saleucami
Rex accompanied Skywalker and Master Gallia to the Saleucami system to rescue Master Eeth Koth from General Grievous. Despite their rescuing Master Koth, Grievous escaped to the surface of Saleucami. Rex went with General Kenobi and Cody to track him down.
Rex and several of his troopers investigated the remains of Grievous's landing ship. Rex took Jesse, Hardcase, and Kix through the wetlands to find Grievous. However, Rex was shot by a commando droid sniper. He survived, but needed a bacta patch and to be left behind at a farm to recover. He discovered that the owner of the farm was a clone deserter named Cut Lawquane. At first, Rex was disgusted by Lawquane's lack of commitment to the Republic. Despite this, Rex accepted his children's invitation to dinner. Rex talked about how he would stay in the army, no matter what happened. Cut told Rex why he left the army, as his squad had been ambushed and killed off shortly after the First Battle of Geonosis; as the only survivor, he fled. During the night, Cut's children accidentally reactivated a pod of disabled commando droids, so he and Cut defended the house from them; Cut saved him from one of them. The next morning, Rex prepared to leave, stating that he did not see Cut as a coward anymore and would not report him to the Republic. While Lawquane offered Rex a chance to stay with his family, Rex declined, saying that his family was elsewhere. With this, he left to rejoin Kenobi and his other clone brothers.
Skirmish on the Coronet
Following Kenobi's investigation on Mandalore, Rex, Cody, Skywalker, and several troopers were requested to protect the Duchess Satine Kryze and her entourage from the Death Watch and the Separatists aboard the Coronet.
Rex, Cody, and their troops were briefed on the importance of protecting the Duchess. They stayed in the cargo bay. Rex saw that R2 was spooked by something and that two of his troopers were missing. Rex, alongside Skywalker, found an open container. They continued the search until Skywalker was attacked by an assassin probe. Rex and Cody took it out. However, they came under attack by SD-K4a mini-assassin droids. After defeating them, Rex and Cody continued their search, taking out the last probe killer. Rex was attacked by the last assassin probe but held off its claws before Skywalker took it out. Rex then fought off super battle droids boarding the Coronet alongside Cody, their troopers, and the Duchess' royal guards.
Skywalker's right-hand man
- "Excuse the interruption, sir, but it is time to depart. General Fisto is expecting us."
- ―Captain Rex, to Anakin Skywalker
When the Jedi High Council chose Ahsoka Tano to teach students at the Royal Academy of Government to help break the cycle of corruption on the planet, Rex accompanied Skywalker and Tano to the planet. While the two Jedi spoke with Duchess Satine and Prime Minister Almec, Rex and another clone trooper stood by their ship. After Skywalker took Tano's lightsaber, due to a recent law passed that no offworlders could bring weapons to Mandalore, Rex approached Skywalker, and Rex informed him that it was time for them to go. Skywalker departed the planet for a meeting with Jedi Master Kit Fisto, and Tano stayed on the planet to teach her class about corruption, and when on the planet she helped uncover a conspiracy led by Almec.
In an attempt to force Pantora to join the Confederacy of Independent Systems, members of the Trade Federation loyal to the Separatists, such as administrator Sib Canay, arranged the blockade of Pantora. During the debate around the blockade, Rex stood with Skywalker as he spoke with Padmé Amidala, who noted that the situation reminded her about the blockade Naboo had undergone. Suddenly, Tano ran up to the group, informing them that the daughters of Chairman Notluwiski Papanoida had been kidnapped. As Rex stood by silently, Skywalker told Tano that, due to Separatist involvement, she could technically perform a private investigation. Amidala asked if it was a good idea to go against the wishes of the Jedi Council, but Skywalker simply responded that they did it all the time.
When the planet Balith fell into a large-scale civil war, the planet requested Republic assistance. Rex and Skywalker were assigned to help the Third Legion on the planet, but Tano was to stay behind on Coruscant to give a full report on recent events. As they were departing, Tano argued that she should go with the group, but Skywalker said that she had to finish her studies. Along with another 501st trooper, Rex and Skywalker then departed for Balith on a Nu-class transport.
Battle of Kamino
- "With all due respect, general, if someone comes to our home, they better be carrying a big blaster."
Rex, Cody, and their troopers returned to his homeworld of Kamino when a message between Grievous and Ventress was discovered. Rex and Cody joined Fives, Echo, 99, and several young cadets in the barracks. Together, they fought off the battle droids, but 99 was killed. Following the battle, Rex promoted Echo and Fives to be Advanced Recon Commandos.
Battle of Lola Sayu
- "I am concerned that the Jedi have elected this... child to lead the group."
"I've served with her many times and I trust her, Captain."
- ―Captain Tarkin and Captain Rex discuss Ahsoka Tano
One year and nine months after the First Battle of Geonosis, when Jedi Master Even Piell was captured, Rex, appearing via hologram, Cody, Fives, Echo, Kenobi, and Skywalker attended a briefing held by Plo Koon for a mission to rescue Piell from the Citadel on Lola Sayu, where he was imprisoned by the Separatists. In order to get on the planet undetected, Skywalker had the entire rescue team, including Rex, carbon-frozen; before being frozen, Rex confided in Skywalker that he had never gone through the process before, only for Skywalker to admit it was his first time as well.
Despite Rex and Fives's reservations, the team was successfully frozen, surviving the process and being brought aboard Shuttle 81572. The frozen team was smuggled by R2-D2 and three reprogrammed battle droids in a stolen Separatist shuttle. This tactic fooled the life-form scanners of the blockade around the planet, and its crew and the droids landed the shuttle in a cave close to the Citadel prison. After landing, Rex and the others were unfrozen, only to discover that Tano had secretly joined the team, despite having been ordered not to. Since there was no other option, Tano came along, and the team began the mission.
To get into the facility, the team had to free-climb a wall covered with electromines. This went well until clone trooper "Charger" stepped on a loose rock and fell straight into a mine, alerting the prison crew of the team's presence. On the way to Piell's cell, the team had to evade several booby traps, one killing another clone trooper, Longshot. The team made it to Piell's cell and destroyed the droids that were guarding Piell, with Rex taking care of the interrogator droid. On the way to rescue Piell the group was located by the Citadel's warden, Osi Sobeck, who activated a large magnet in the ceiling of the hall that pulled all the team's weapons away, as well as Skywalker, due to his cybernetic arm. The team was surrounded by droids.
Skywalker, being attached to the magnet, reclaimed his lightsaber and destroyed the magnet, allowing the team to reclaim their weapons and destroy the droids. Rex shot a surveillance camera, much to Sobeck's frustration, before moving along. After retrieving Piell's officers the group split into two groups while escaping the facility, as both Piell and his captain, Tarkin, knew half of the vital hyperspace coordinates, called Nexus Route. Splitting them up during the escape would make it more difficult for the Separatists to get the full information. Rex joined the group consisting of Skywalker, Tano, Tarkin, Echo, Fives, and two rescued clones. While Kenobi and the other group wreaked havoc on the upper levels, Rex and his group escaped the tower into a series of tunnels on the lower levels.
Rex and the others made their way through tunnels fighting off the super battle droids and commando droids. He also defended Ahsoka when Tarkin questioned her experience. They met up with Kenobi's and Piell's team at the airfield. However, their shuttle was destroyed, and ARC trooper Echo was believed to have been killed.
Rex and the others headed for a rendezvous point as they were pursued by STAPs and anoobas. During their trek, one of the anoobas killed Piell, and Rex and the others gave him a brief funeral. Upon reaching the rendezvous point, they fought Commandant Sobeck and his droids until Koon arrived. Rex and the others were then taken back to Coruscant.
Return to Felucia
Rex went with Skywalker, Tano, Koon, Wolffe, and their men to take out a resupplied Separatist outpost. With the aid of Felucian scouts, Rex and Skywalker assaulted the outpost while Tano and Koon attacked the outpost from the sides. However, Skywalker noticed that Tano had gone missing. Rex and his men searched the outpost and the surrounding area for her to no avail, with Republic forces pulling out of the area soon after.
Role on Mon Cala
Battle of Horain
- "That's a bit of a mouthful, even for a battle droid. How about we call you Bats."
"Sound good to me."
- ―Rex and B1-0516
By the time of the Battle of Horain, Rex was equipped with ARC trooper armor. Rex participated alongside Obi-Wan Kenobi in the Battle of Horain. During the fighting, a B1-series battle droid named B1-0516 was hit by a blaster bolt that bounced off of Kenobi's lightsaber. It started to shoot other battle droids. When the battle droid revealed his name, Rex renamed him "Bats" because his name was a mouthful. When Rex and Kenobi returned to the Republic Evacuation Point, Bats joined the Republic.
Battle of Umbara
- "You are making a mistake by crossing me, clone."
"It's 'captain,' sir."
- ―General Krell and Captain Rex clash after the captain disobeys direct orders
Rex, along with Skywalker, Fives, and the rest of the 501st were sent to Umbara to help Masters Tiin, Krell, and Kenobi take its capital, while Tano and Offee fought the space battle. After the initial landing and fighting with the Umbaran militia, Rex and the 501st were placed under the command of Krell when the Chancellor requested Skywalker return to Coruscant. As the troops were pushed hard on a long march, Krell denied them rest despite Rex's protests. When Krell ordered a full-frontal assaults on the capital, he denied Rex's request to carry out Skywalker's plan. During the first attack on the road to the capital, the clones were surrounded, and without cover, suffered heavy losses. As Rex was forced to order a retreat, Krell disdainfully ordered reinforcements and angrily confronted Rex for disobeying him. When Krell roared at Rex, Rex retorted by reminding him that he had a duty to protect the men under his command.
Rex, Krell, and the 501st were sent to capture an airbase that was resupplying the capital. Rex was ordered to go through a gorge that would leave them exposed. Rex tried to reason with Krell to no avail. Despite the objections of Fives, Jesse, and the rest of the 501st, Rex convinced his men to carry out Krell's orders. As they made their way through the gorge, they were attacked by the Umbarans' crawler tanks, which they destroyed. They were then confronted by the Umbarans' MHCs, which had heavy armor impervious to their rocket launchers. To combat them, Rex sent Fives and Hardcase to infiltrate their base and use their own Zenuas 33 Umbaran starfighters on the MHCs. Despite Krell's orders to push the attack, Rex and his men held them off until Fives and Hardcase destroyed the MHCs. The base was taken and secured despite the heavy losses.
When Kenobi contacted them about the capital's long-range missiles being supplied by a DH-Omni Support Vessel, Rex proposed that they attack the ship to cut off the supplies. However, Krell proposed attacking the capital despite the missiles, much to Rex's and Kenobi's surprise. Rex was ordered to prepare the men for the attack, despite the heavy casualties. Rex at first complied but was then told of an idea by Fives to use the starfighter codes to infiltrate and destroy the supply ship. However, Krell objected to it. Following a mishap in a hangar, Rex gave Fives, Jesse, and Hardcase permission to carry out the mission. However, he told them that if they were caught, he would not be able to protect them. Rex watched as they took off on their mission and stopped Dogma and CT-5385 "Tup" from informing Krell. Krell later confronted Rex, who told him that he authorized a reconnaissance mission to make his strategy more efficient. Rex then saw the supply ship's explosion. Rex, Fives, and Jesse were brought before Krell, where he reprimanded them. Despite Rex's objections, Krell had Fives and Jesse taken to the brig for insubordination.
Rex spoke with Krell to convince him to spare Fives and Jesse, telling him that the men were with him despite his reckless tactics. Despite this, Krell ordered Rex and his men to execute them, but they refused to do so. Rex and Krell were then contacted by a trooper who informed them that they were ambushed by the Umbarans disguised as clones. Rex was sent to attack the Umbarans. Rex and his men, armed with mortars, went into the jungle, where they were attacked by the troopers. However, Rex examined one of the troopers and discovered they were clones. Rex ran in front of both his men and the troopers, revealing the deception. Rex then spoke with the 212th Attack Battalion platoon leader, Waxer, who revealed that it was Krell who ordered the attack before dying of his wounds.
Rex gathered his men and the remainder of Waxer's platoon. He told them that they would arrest Krell for treason. Rex and the men confronted Krell, who was surprised that he had figured it out. Krell, believing him to be committing mutiny, refused to be arrested. Krell pushed Rex and his men and escaped into the jungle. Rex and his men went into the jungle, where Krell taunted him. Krell was subdued and stunned by Tup. Rex and his men placed Krell in the brig. During his questioning, Rex learned that Krell was trying to undermine the Republic so that Dooku or his master would make him his new apprentice and rule Umbara. When news came that Kenobi and 212th had taken the capital, Rex and the others decided to execute Krell. At first, Rex hesitated but Krell was then killed by Dogma. Dogma was then taken into custody, but he and Rex shared a nod. Fives informed the Clone Captain that the last Umbaran holdouts had been defeated and the fight for Umbara was over, but Rex wondered aloud about what the point of the suffering was and what would happen to him and his brothers when the war ended.
Battle of Kiros and Kadavo
- "Come on, Master Kenobi. I know a Jedi won't kill an unarmed man."
"I'm no Jedi."
- ―Agruss and Rex, as the latter kills the slaver
Ten rotations after Master Yoda's last communication with Kiros's governor, Gupat Roshti, Rex, along with Skywalker, Kenobi, Ahsoka, and their men, were sent to free Kiros from the Separatist occupation forces. Rex rode with Kenobi as his gunner on his BARC speeder. Rex finished off the last of the AATs with his rocket launcher as they approached the Separatist headquarters inside the governor's tower.
Following the capture of Commander D'Nar, Rex went with Skywalker, Kenobi, and Ahsoka to Zygerria using the Tecora. Rex, disguised as a Zygerrian guard, went with Kenobi to find the colonists. Rex spotted Governor Roshti and attempted to escape with Kenobi and Roshti, but they were captured. Rex then went to a slave auction still posing as a guard. When Skywalker whipped Kenobi, Rex saw his signal and attacked the guards. However, he and the others were captured. Rex, Kenobi, and Roshti were taken to Kadavo, to its slave-processing facility.
There Rex worked in the facility's mines alongside Kenobi and the Togrutas as a slave. He and Kenobi were then brought before Keeper Agruss, who was ordered by Count Dooku to execute them. However, Rex and Kenobi freed themselves when Skywalker, Tano, and Plo Koon came to free the slaves. When Agruss tried to escape and taunted Kenobi for not being able to bring himself to kill a defenseless person, Rex threw Agruss' electrostaff at him, impaling the slaver and killing him. Rex and Kenobi then made their way to a gunship and left the facility before it was destroyed.
Following the battle, Rex was assigned by Skywalker to guard the Supreme Chancellor against bounty hunter Moralo Eval's kidnapping plot. He covered for Skywalker and Tano when they went after Eval, Bane, and Rako Hardeen.
Training Onderonian rebels
Rex went with Kenobi, Skywalker, and Tano to Onderon to help train its rebels in fighting the Confederacy's occupation forces. Rex taught them how to use weapons such as the droid poppers against the battle droids and how to use teamwork to take down Separatist tanks. Rex then left with Skywalker and Kenobi to report on the rebels' progress against the Confederate forces in Iziz while Tano stayed behind to act as an advisor.
The end draws near
- "If you see the target, shoot to kill."
"Belay that order, Commander Fox."
"She has killed troopers!"
"I know Commander Tano. She would never do something like this."
- ―Commander Fox and Captain Rex in disagreement over the manhunt for Ahsoka
Rex was with Skywalker and Tano when they defended Cato Neimoidia from the Confederacy. Rex then returned to Coruscant, where he worked with Skywalker to prove Tano's innocence in the Jedi Temple bombing and Letta Turmond's murder. He went with him to the military base, where Commander Fox told him that Tano killed several clones. Rex, Skywalker, and Fox searched for her. Rex followed Skywalker to a tunnel, where they witnessed Tano escaping from them. Rex assisted Skywalker, Koon, Commander Wolffe, and a team of shock troopers in searching for Tano. Tano was ultimately proven innocent, but she left the Jedi Order.
Battle for Ringo Vinda and the biochip conspiracy
- "Fives...No, Fives...Come on, Fives...Don't go, stay with me. Stay with me...Fives...Don't go..."
- ―Rex mourns Fives
At some point following Tano's departure from the Jedi Order, Rex went with Skywalker to Ringo Vinda to take its space station back from the Confederate forces under Admiral Trench. During the battle, Tup fired upon and killed Jedi General Tiplar. In the chaos, the 501st were forced to retreat. While Tup appeared to be unaware of his actions, he continued to display strange behavior and lash out violently towards Jedi. Both Jedi and clone leadership determined that Tup should be sent to Kamino for further evaluation. However, in the process, Tup was temporarily captured by Separatist forces on his departure from the station. Together Fives, Rex, and Anakin Skywalker retrieved a still-unconscious Tup before Trench's droids could abscond with him. Concerned for his friend's safety, Fives requested that he accompany the troubled clone to Kamino. Although Rex was required on the front lines, he allowed Fives to stay on Kamino, telling him to take care of Tup and himself.
By the time the 501st had returned to Coruscant, Fives had been named a fugitive, having been accused of attempting to assassinate the Chancellor. Through Kix, he gave Anakin Skywalker and Captain Rex coordinates to rendezvous with Fives so that the three of them could speak privately.
To Fives' surprise, both Skywalker and Rex appeared at his requested meeting spot. Fearing that neither of his superiors would listen to his version of events, Fives requested that Skywalker and Rex go unarmed themselves and then trapped both in a ray shield. Agitated by his experience and prior drugging by conspiring Kaminoans, Fives struggled to explain his actions and his discoveries. Fives stated that artificially designed organic chips were planted into clones during the early stages of their development as sanctioned by the Chancellor and that, when activated, these chips compelled clones to strictly follow orders without question. When Skywalker too accused Fives of trying to assassinate the Chancellor, tension escalated.
Midway through the conversation, Commander Fox and a squad of Coruscant guards arrived to arrest Fives, on direct orders from Palpatine. Desperate not to be captured, a terrified Fives reached for one of Rex's discarded blasters, prompting Fox to shoot him through the heart. Fives spent his final moments in the arms of Rex where he spoke his last words, reciting Tup's, having finally found peace. A distressed Rex then mourned over the body of his close friend. Though he was skeptical of Fives' warning, Rex felt he owed it to Fives to submit a grievance report on the chips. Even as he was recording it, Rex knew the report would be ignored. The report was classified and encrypted in the Republic archives.
Banking Clan crisis
At some point after the Battle of Ringo Vinda, Rex became an Advanced Recon Commando. Rex participated in the Invasion of Scipio, a battle in response to the Separatist invasion of the InterGalactic Banking Clan planet of Scipio, which had been considered a neutral world. While General Anakin Skywalker and other members of the 501st Legion made their initial descent on the planet, Skywalker requested that Rex determine the location of Senator Padmé Amidala, who was on Scipio due to the exchange of power in the banks from the corrupt leaders to Rush Clovis. Rex said he could not pinpoint her exact location, but that the initial scan indicated she was still alive. Upon reaching the planet's surface, Skywalker ordered Rex to hold the line as he searched for Amidala. Rex, along with the rest of the 501st, successfully held their position and regained control of the planet from the Separatist forces.
Redemption of Quinlan Vos
In the final years of the Clone Wars, Rex joined fellow troopers, including Cody and Jesse, to a mission to prove the redemption of the Jedi Master Quinlan Vos. Once the clones began to unload equipment, it was discovered that the asteroid they were on was about to explode. Quickly, the Jedi and clones escaped the asteroid, thanks to Vos. However, the Jedi was simply fooling all of them and was still an agent of Count Dooku.
After the Separatist Admiral Trench made advances against Republic forces during the Battle of Anaxes, Rex theorized that the Separatists had captured his comrade Echo, who was presumed dead, and that the Separatists were combating his strategies through him. Rex and Commander Cody joined forces with an elite squad called Clone Force 99 (known as the "Bad Batch"); which consisted of Sergeant Hunter, the giant demolitions expert Wrecker, the sniper Crosshair, and the equipment specialist Tech. The clones raided a Separatist Cyber Center on Anaxes and discovered that it was receiving an audio signal from Skako Minor that was beeping Echo's clone trooper number. This confirmed Rex's suspicions that Echo might still be alive.
Armed with this information, Rex traveled to Skako Minor with Clone Force 99 and Anakin Skywalker on the Havoc Marauder. Before going, however, Skywalker spoke with his wife, Padmé Amidala, and had Rex stand by to make sure no one knew. Although General Kenobi asked where Skywalker was, Rex tried to lie about what his General was doing. After Skywalker was done speaking with her, he and Rex left for Skako with the Bad Batch. After landing, Skywalker was kidnapped by a large flying reptile called a keeradak which deposited him in a Poletec village. Rex and the Bad Batch traveled to the Poletec village where they made peace with the villagers and convinced them to release Skywalker. With the aid of Poletec scouts, the clones and Skywalker traveled to the Techno Union city of Purkoll. During the journey, the clone troopers traced Echo's signal. When Crosshair disdainfully said that Echo was "just another reg," Rex attacked the commando. Anakin broke up the fight and dismissed the others to counsel Rex alone, saying that he had to face the reality that Echo may be dead. Rex told his general that he tried never to dwell on the death on a friend and brother, but that he was certain that he had heard Echo.
The clones traced Echo's signal to a tower and infiltrated it. Inside, they received a hologram message from the Techno Union leader Wat Tambor, who announced that he had used the algorithm to lure them into a trap. When Tambor charged them with violating the Techno Union's neutrality, Rex responded that Tambor had already breached the Union's neutrality by bringing a Republic prisoner to Skako Minor. Tambor sent several D1-series aerial battle droids to attack them, but the clones and Skywalker defeated them. Rex and Tech forced their way inside a stasis chamber and found Echo. Echo was alive, but many of his body parts had been replaced with prosthetics, and he was kept in an induced coma.
Rex and Tech freed Echo from the chamber after some difficulty. However, the clones and Skywalker were surrounded by Techno Union forces and unable to call for help since they were on an unsanctioned mission. When Tambor dispatched a Decimator to destroy the intruders, Rex, the other clones, and Skywalker fled through an exhaust pipe. Wrecker then planted several detonators which destroyed the Decimator and the chamber. While crossing a pipe, the clones and Skywalker escaped on four-winged Keeradaks and returned to the Poletec village.
At the village, the clones, Skywalker, and the Poletec villagers joined forces to destroy several D-wing droids and octuptarra tri-droids that Tambor had dispatched after them. During the battle, Rex disabled one octuptarra by firing into its eye sensor. Following the battle, Echo thanked Rex for returning for him, but Rex simply stated that it was what brothers did and apologized for the time it took. Rex also expressed his hope that things would be just like their old times together. The clones and Skywalker then headed back to Anaxes.
After returning to Anaxes, Echo devised a plan which involved infiltrating Admiral Trench's dreadnought and feeding the Separatist systems with false information in order to secure a Republic victory on Anaxes. Rex, Echo, Skywalker, and Force 99 infiltrated Trench's warship using the Havoc Marauder while Republic forces under Jedi Generals Windu and Kenobi attacked the Separatist assembly plant. The clones and Skywalker infiltrated the dreadnought's interface unit and fed false information to Admiral Trench. Echo brought all Separatist forces to the assembly plant and then used a feedback pulse to shut them down.
When Admiral Trench realized the deception, he activated a time bomb in the factory's fusion generator. Rex and his fellow clones fought their way through several battle droids and returned to the Havoc Marauder. Meanwhile, Skywalker killed Admiral Trench while Mace Windu used the Force to deactivate the bomb with the help of information supplied by Echo. Rex, his fellow clones, and Skywalker then fled Trench's dreadnought before Wrecker detonated it. At Fort Anaxes, Rex supported Echo's decision to join the Bad Batch, and Echo and his new squad-mates saluted the Clone Captain.
Battle of Yerbana
Near the end of the Clone Wars, the 212th Attack Battalion and the 501st Legion, led by Jedi Generals Kenobi and Skywalker, fought in a battle on the planet of Yerbana, with the two battalions fighting on different fronts. Rex, along with Anakin and the 501st, had won their battle and came to help the 212th overcome Separatist forces blockading a city. While Anakin went to talk to Obi-Wan, Rex and the 501st hanged under the bridge they were fighting on. When Skywalker distracted the tactical droid who commanded the enemy forces, R2-D2 warned Rex that it was almost time for them to attack. Rex led the 501st in a surprise attack once the droid was destroyed, using jetpacks to fly out from under the bridge and decimating the droid blockade.
Siege of Mandalore
By that time, the former Sith Lord Maul had taken control of Mandalore with the help of the Death Watch and his Shadow Collective, a syndicate of crime organizations that swore allegiance to Maul.
After the battle of Yerbana, Ahsoka Tano came into contact with the Jedi Order and, along with Bo-Katan Kryze, requested the help of the Jedi in retaking the planet. While she was there, Rex showed her the 332nd Company, a unit of clones in a new division that Ahsoka would command. They had all wore painted helmets with a stylized version of Tano's facial markings. Rex commented that the painting was "crude", but that it got the point across, and although Ahsoka said that he did not have to call her Comandder, he chose to ignore that.  Skywalker and Kenobi traveled to Mandalore, but were forced to return to Coruscant since Chancellor Palpatine had been kidnapped by General Grievous.
Skywalker left Rex, who had been promoted to Commander, and the 332nd on Mandalore to aid in the capture of Maul. Upon arriving on the planet, Rex recieved a message from Prime Minister Almec, who attempted to stop the invasion, though Bo-Katan wasn't fooled, stating that his time had come. Soon after, they were attacked by Mandalorian super commandos, which forced everyone on the ship to leave on jetpacks. Rex apologized for not thinking of bringing Ahsoka one, but she dismissed the need of one and challenged the Commander to a race to the surface, jumping off the ship as Rex laughed. Despite having a jetpack, he still arrived second. Tano simply said she beat him, while he retorted that some things didn't change.
Maul led Tano into a trap, thinking she was Skywalker or Kenobi. Tano activated a beacon, allowing Rex and his men to trace her signal and free her from Maul and his Mandalorian super commandos. Maul and his followers escaped the scene, however, and lost the clones in the sewers.
Rex continued to oversee the 501st troopers. He comforted the ARC trooper Jesse after he was captured and mind-probed by Maul. The battle eventually wound down to a Republic victory. Rex and his men brought Gar Saxon and the remaining super commandos into custody, and Tano successfully captured Maul after defeating him in a duel. After the siege, Maul was brought on board the Venator-class Star Destroyer Tribunal. By taking part in the siege, Rex had become a part of the history of the Shadow Collective and, by extension, its member syndicate Crimson Dawn.
- "Rex? Are you okay?"
"Yeah. Yeah, kid. I'm okay. I'm sorry for what happened earlier. I almost killed you."
- ―Rex apologized to Ahsoka after trying to kill her
On the way back to Coruscant to deliver Maul into custody, Rex and Ahsoka met at the bridge of the Star Destroyer and watched as it entered hyperspace. Noticing she seemed thoughtful, Rex asked if something was on her mind. Ahsoka was distraught that while the Jedi were meant to be keepers of the peace, yet the war had turned them into soldiers, including her. Rex agreed—but reminded her that without the war, the clones would not exist. Ahsoka replied that perhaps the war had brought some good, such as the friendship between them. Both of them then saluted each other. Right then, an officer called Rex away to listen to the latest briefing. Rex tried to make Tano join him, but she denied the offer.
At that moment, via hologram, Darth Sidious ordered all clone troopers to execute Order 66 and gave Rex special orders to execute Tano despite her no longer being a Jedi, which Rex agreed to do.Ahsoka came into the room then, feeling through the Force that something terrible had happened. Rex felt conflicted, and he briefly fought his programming, thinking of Fives and telling her to "find him," but inevitably succumbed and shot at Ahsoka. Ahsoka defended herself against Rex and the other present clones before escaping. Rex ordered the clones to hunt down Ahsoka, the captive Maul, and any who opposed the clones. Ahsoka had a plan, however, and she eventually stunned Rex into unconsciousness with the help of some astromech droids—one of which was Tano's astromech that had served alongside her on many occasions in the duration of the Clone Wars.
After sneaking herself and Rex's unconscious body into the Venator's medical bay, Ahsoka engineered a defense against the closed bay door with the droids and located Rex's inhibitor chip in his brain using the Force. Ahsoka ordered the droids to surgically remove the chip while she prepared for the imminent door breach. When the clones finally breached through the door, Ahsoka was nearly overwhelmed by the blaster fire. However, Rex's operation completed just in time for him to regain his true consciousness and shoot down a few threatening clones. Rex and Ahsoka fought their way through the Star Destroyer, stunning the brainwashed clones along the way. Maul, on the other hand, advanced towards the ship's hyperdrive core, where he killed all the clones stationed inside. Using the Force to tear it apart, Maul destroyed the hyperdrive mid-jump and crippled the Star Destroyer beyond repair, killing many troopers sent to engage the renegade Sith Lord. The damage caused the Venator to lose lateral controls and to plummet towards the surface of a moon, being ensnared within the moon's gravitational pull and quickly descending while tearing apart.
Rex and Ahsoka made their way to the hangar bay controls and opened the main hangar doors, where they found they were awaited by a large force of clone troopers led by the ARC trooper Jesse. With the help of the astromech droids, they avoided the clones and made their way towards a Nu-class shuttle until Maul, escaping from the doomed ship, commandeered the shuttle and used it to escape the Destroyer. Meanwhile, Rex, piloting a Republic Y-wing bomber, which he took from the maintenance bay, exited the doomed Star Destroyer and saved Tano, who was plummeting towards the moon's surface.
Crashing onto the surface of the moon, the Star Destroyer was destroyed along with all personnel aboard the starship. Rex, salvaging parts of the Star Destroyer, prepared to depart the moon. He watched as Ahsoka dropped her lightsabers on the ground in front of the field of the clone trooper helmets belonging to the fallen, to make it look like they too had perished in the crash.
Striking against the Empire
A new life
- "Being dead in the Empire's eyes has its advantages."
- ―Rex, to Clone Force 99
As they had dug the graves, Rex and Tano agreed to part ways, but both informed the other they would head into the chaos of the Outer Rim Territories. Rex was able to keep a low profile due to Imperial records listing him as having been killed in action even though Tano was presumed to have survived. Rex returned to Saleucami to meet with his old friend Cut Lawquane and his family. He informed them about Order 66 and the inhibitor chips before moving on, not revealing where he was going. Clone Force 99 arrived at the Lawquane farmstead the following day, where Cut informed them of his appearance and statements, information that was of great importance particularly to Rex's old comrade Echo.
Deciding to fight for what remained of the Republic, Rex made it his mission to strike against the Empire, forming his own resistance movement. He recruited Trace and Rafa Martez—two sisters whom Tano had befriended prior to the Siege of Mandalore—to his new movement, and the rebuilt R7-A7 came into the sister's possession as well. Understanding that the data collected by a Separatist tactical droid would be useful against Imperial tactics, Rex tasked the Martez sisters and R7 with retrieving the head of a T-series unit in a decommissioning facility on Corellia. Upon infiltrating the facility, the Martez sisters met the members of the Bad Batch, who had remained mostly unaffected by Order 66 and had begun to perform mercenary work for the Trandoshan Cid. Although the droid head was destroyed in the skirmish, Hunter gifted the sisters a copy of its data before parting ways. Contacting Rex once they were in space, the sisters informed him via hologram that their mission was a success and that they knew the location of a rogue clone squad.
Tracking down the Bad Batch
- "Figured you weren't out of the fight just yet."
"I spent my life defending the Republic. Can't stop now."
- ―Hunter and Rex
Notified by the sisters that Clone Force 99 was on Ord Mantell, Rex traveled there to find the Bad Batch, wearing a large cloak to disguise himself. He quickly discovered the Bad Batch at Cid's Parlor. After a quick reunion, including seeing Rex earn a big hug from Wrecker, meeting the group's newest member Omega, and reuniting once again with his old comrade Echo, Rex explained what he had been up to over drinks. However, the mood turned dark when Rex realized that the group had not had their inhibitor chips removed. Rex became very alarmed and reached for his blaster, but he was eventually talked down by Hunter. Rex warned them about the dangers of the inhibitor chips and convinced the group to meet with him on Bracca so they could be removed.
On Bracca, Rex led them to the inside of a Star Destroyer that was being scrapped. Avoiding Scrapper Guild patrols, they made their way inside and Tech began to scan the group to locate their chips and have them removed in a similar manner as to how Ahsoka had helped Rex remove his. However, as Tech prepped Wrecker to be the first to go, since he had been having recurring headaches due to his chip, Wrecker's chip activated and he grabbed Tech by the throat. Throwing his companion into a wall, he then set upon the others. Rex, Echo, and Hunter led him out of the room so Wrecker did not damage the equipment. They set a trap for him, with Rex springing out of a hallway to stun Wrecker, but he incidentally hit Echo when Wrecker tossed his fellow trooper at him. Rex was downed, but he eventually rose and pursued Wrecker, stunning the larger clone as he had cornered Omega.
After Wrecker was subdued, the group performed the extraction. Rex and the others waited for Wrecker to wake up to see if they had been successful, and when they found Wrecker alive and well, they set to work removing the rest of the group's chips. Rex left to go outside and communicate to someone on his comlink. He was soon joined by Hunter, and Rex told the clone that his squad would be welcome to keep fighting for the Republic as he was. Hunter told Rex that the Republic was gone and that he needed to do what was best for his squad, and when Rex asked what that was, he nodded understandingly when Hunter replied that he was still unsure of what that was. Rex departed then, telling Hunter to say goodbye to the boys for him and contact him when they figured themselves out. As Rex began walking away, Hunter told him that if he was ever in trouble, that they would be there for him, and Rex gratefully nodded before departing.
Although Hunter felt that the Bad Batch was on a different path compared to Rex, Echo believed the squad should have left with his old friend, knowing it would mean they would not need to work for Cid and that it would let them be soldiers.
Rescue of Gregor
- "I received a distress signal from a clone trooper, but I'm a bit tied up at the moment to retrieve him."
"You want us to recover a reg?"
"He's an old friend, and he's in trouble. I need you to get him out."
- ―Rex and Hunter
Sometime later, while Rex was on a mission of his own, he received a distress signal from his old friend Gregor; the clone commando had tried to desert from the Empire while training the first generation of the Stormtrooper Corps on the world of Daro, yet he had been captured after planting the distress signal. Unable to go after Gregor himself, Rex instead contacted the Bad Batch as they traveled through hyperspace on a mission for Cid. After asking the commandos to liberate his friend but realizing he needed to cut his transmission short, Rex sent them Gregor's signal and ended his call.
In the ensuing debate amongst the Bad Batch, Echo remaining steadfast in his devotion to help his former captain, understanding that Rex would only contact them if it was important. Although it meant they may not get paid by Cid for their current mission, the squad ultimately decided to travel to Daro, where Echo, Tech, and Hunter departed from the Havoc Marauder. After analyzing the Imperial base they needed to break into, Hunter realized that the odds were against them, making him consider leaving and telling Rex that the mission was not possible. However, Echo implored Hunter and Tech to continue the mission, remembering their mission to Skako Minor to rescue him. Convinced, the three broke into the facility and rescued Gregor, who trusted them upon learning Rex had sent them, but Hunter was ultimately left behind and captured by the Empire. Leaving the injured Gregor on Ord Mantell with Cid, the Bad Batch traveled to Kamino to rescue Hunter, ultimately learning he was being held by Crosshair in the Tipoca City Training Facility. Ordering Omega to stay behind with droid AZI-345211896246498721347, Echo instructed her to return to the Havoc Marauder and contact Rex if they sent her a warning signal. Upon receiving the signal, she instead decided to activate training droids, which freed the Bad Batch and allowed them to capture Crosshair.
Meanwhile, Ahsoka had moved to the world of Thabeska before moving to the small farming moon Raada around a year later. On Raada, she sometimes thought about Rex, recalling her clone trooper friend when she saw the farmer Kaeden Larte, whose skin she noted to be darker than Rex's, albeit lighter than Mace Windu's. Later, she refused to imagine two stormtroopers as sharing Rex's face. She also understood that Rex would have disapproved of the lackluster security measures the Empire put in place on the moon, which she then understood meant that the officers in charge were young.
Agent of the Rebellion
Joining the Rebellion
- "Well, my name's Ezra. This is Kanan. That's Sabine and Zeb. It's nice to meet you, 7567."
"Actually my name is Rex. Captain. 501st clone battalion. Meet Commanders Gregor and Wolffe."
"We were sent by Ahsoka Tano."
"Ahsoka Tano. I fought by her side from the Battle of Christophsis to the Siege of Mandalore, and a friend of hers is a friend of mine."
- ―Rex greeting the rebels
Several years prior to the Battle of Yavin, Tano tried to contact Rex, but her transmissions had gone unanswered since Wolffe had hidden their existence from Rex, fearing that the Empire would come for them if they were found colluding with a former Jedi. When Rex was unresponsive, Tano sent a group of rebels that included the Great Jedi Purge survivor Kanan Jarrus and his apprentice Ezra Bridger to find Rex and obtain information from him on abandoned bases that the growing rebellion could use in their struggle against the Empire.
Rex and his comrades' first encounter with the Ghost rebels almost ended in violence when Kanan thought the clone troopers were a threat and ignited his lightsaber. Rex's timely intervention broke up the fight between his comrades and Kanan. When Kanan's apprentice Ezra mentioned that he and his rebel companions had been sent by Ahsoka, Rex quickly realized that the rebels were friends and introduced himself and his companions. While meeting with the rebels inside the walker, Ezra tried to convince Rex and his companions to join the fight against the Empire. Rex laughed and declined, saying that his days as a soldier were over. After discussions with Kanan, Rex agreed to create a list of bases that the rebels could use but invited the four rebels to participate in a hunt for joopas as payment for supplying them with this information.
To allay Kanan's distrust of clone troopers, Rex revealed that he, Gregor, and Wolffe had managed to remove their control chips. The rebels reluctantly participated in the joopa hunt with the Lasat Garazeb Orrelios acting as both the "hunter" and the "bait." Zeb was swallowed by the joopa but succeeded in killing the creature. Having completed their side of the deal, Kanan wanted his rebel companions to leave but Rex invited them to stay for dinner. While dining, the Mandalorian teenager Sabine Wren discovered that Wolffe had secretly alerted the Empire to their presence and hid the messages that Ahsoka had sent them.
Wolffe, who distrusted the Jedi, had informed the Empire in the mistaken belief that he was protecting himself and his fellow clones. Rex was shocked by this revelation and confronted Wolffe. He convinced Wolffe that the rebels were their friends and that the Empire was their enemy. Shortly thereafter, the clones and rebels were visited by an Imperial probe droid which damaged their auxiliary ship, the Phantom; preventing them from rendezvousing with their fellow crew aboard the Ghost, which was waiting in space. After destroying the probe droid, Rex and his companions prepared for the arrival of the Empire.
Despite Ezra's efforts to encourage Rex and his companions to join the Rebellion, Rex was adamant that the clones would stay behind to hold back the Empire while the rebels escaped on the Phantom. A force of AT-AT walkers led by the Imperial Security Bureau agent Alexsandr Kallus, a perennial foe of the Ghost crew, landed on Seelos. Despite being outnumbered and outgunned, Rex and his fellow clones stood their ground. At the urging of Ezra, the rebels intervened in the fight and defeated the Imperials. Without air support, Kallus and his surviving AT-AT pilots were forced to retreat into the desert. Honored that Kanan and Ezra would return to save them, Rex and his comrades saluted the Jedi and agreed to join the Rebellion. Meanwhile, Gregor and Wolffe stayed behind and turned the remaining AT-AT into their new home.
Hera then arrived with the Ghost to pick them up. Later, the rebels returned to meet Ahsoka and revealed that Rex had joined them. Rex proudly strode forward, and Tano smiled as she walked up to him. Rex playfully joked that she had gotten old, and after Tano smiled that it had to happen sometime, she embraced her old friend. Rex returned the hug warmly.
Wits versus discipline
After joining the Rebellion, Rex became part of the Phoenix rebel cell, which operated a fleet in space. At some point after joining the rebels, Rex piloted a TIE fighter that had been captured by the Spectres sometime prior. The fighter had been repainted by Wren and was used by Rex in combat, firing its cannons. During one of Ezra's levitation lessons, Rex exposed Sabine and Chopper's trick that involved locking the astromech droid Chopper's feet to the floor, preventing Ezra from levitating him. When Ezra was upset about the trick, Rex told the young Padawan about how a Jedi General he had once fought alongside became a great warrior by combining the Force with his wits. In response, Kanan told Rex that the boy had a lot of wits but needed more discipline.
While Rex and Kanan argued about how to train Ezra, the young Padawan sneaked away with Sabine, Chopper, and Zeb on a mission to salvage supplies from an Old Republic medical base. Rex had provided the rebels with the codes to this station. Unknown to the rebels, two Inquisitors known as the Seventh Sister and the Fifth Brother were waiting for them. The rebels barely escaped with their lives. Rex was present with Kanan and Hera when the younger rebels returned with news that the Empire had more Inquisitors.
Later, Rex oversaw target practice with Ezra, who was using a DC-15A blaster carbine to try and hit a stormtrooper helmet that Chopper was moving around. Kanan came out, sternly reminding Ezra about his Jedi training, which sparked a minor debate between Rex and Kanan until Sabine informed them that Hera had called for a mandatory group meeting. The rebels then participated in a mission to scour Garel City for power generators and Fuel Cells to alleviate an energy crisis on the planet Rinn.
Infiltrating the Imperial Interdictor
An opportunity for Rex to resolve his differences with Kanan Jarrus arose after Ezra Bridger and Commander Jun Sato's CR90 corvette Liberator were captured by an Imperial Interdictor during a mission to the Del Zennis system. Prior to their capture, Sato had warned the other rebels that the Empire had a new warship capable of pulling ships out of hyperspace. Under the orders of Phoenix Leader Hera, Rex along with Kanan and Chopper were to infiltrate the Imperial warship and rescue Bridger and Sato. For this mission, Rex and Kanan were to disguise themselves as stormtroopers while Chopper was painted black to mimic an Imperial communications droid.
When Kanan expressed unease about working with Rex, he reassured him that he knew which side he was on. After Zeb brought two captured sets of stormtrooper armor, Rex complained that the new armor was junk compared to the armor he had worn during the Clone Wars. For their mission, Rex, Kanan, and Chopper used a stolen Sentinel-class landing craft to travel to the Del Zennis system, which they learned had been classified by the Imperial authorities as a restricted testing area. While traveling through hyperspace, the two men argued about their mission. While Kanan wanted to find their people and get them out of Imperial custody, Rex insisted on disabling the new ship as well since it could pose a threat to the Rebellion.
Upon approaching the Imperial Interdictor, Rex conned the Imperial scanners by telling them that his shuttle was having engine problems. Using emergency protocols he and Commander Cody had invented, they gained permission to dock in the Imperial Interdictor. After landing, Kanan used a Jedi mind trick to convince the stormtroopers guard in the hangar to let them through. Accessing a terminal, they learned through Chopper that Ezra was being transferred to a secure cell; meaning that the Empire had learned his identity. Disguised as stormtroopers, the three rebels made their way to Ezra's cell only to discover that the young Jedi had already broken free and locked his captors in his holding cell.
Mistaking Rex and Kanan for stormtroopers, Ezra stunned them with his lightsaber-blaster. When Rex and Kanan recovered, Ezra tried to save face by claiming that they had been involved in a big firefight. Chopper, however, played a holographic recording of what actually happened. While Kanan was furious, Rex laughed it off and suggested that Ezra should have set his blaster to kill in case it was not them. When Rex and Kanan broke into an argument about whether to limit their mission to rescuing their rebel comrades or destroying the ship as well, an irritated Ezra broke off and accompanied Chopper on a mission to sabotage the Imperial Interdictor's gravity well projectors.
Disguised as stormtroopers, Rex and Kanan continued their mission to rescue their rebel comrades. When they stumbled on a stormtrooper patrol, Rex advised caution but Kanan decided to attack them. During the firefight, Rex complained that he could not see through his stormtrooper helmet and threw it at one of his opponents, knocking him out. After braving heavy fire, Rex and Kanan finally reached the detention cell holding Commander Sato and his crew. They decided to make their way back to Commander Sato's CR90 corvette Liberator. On the way, they were attacked by more stormtroopers. Rex decided to buy his rebel comrades more time by holding off their pursuers and locking the blast doors.
Rex took on the remaining stormtroopers in single-hand combat only to be stunned. Captured, Rex was brought before the Interdictor's commanding officer, Admiral Brom Titus. Recognizing Rex based on his code number, Titus tried to win Rex over by offering him immunity and reinstatement at an Imperial Academy if he would convince his compatriots to surrender. However, Rex rejected Titus' terms and the Admiral ordered an interrogator droid to torture him to death while two stormtroopers pinned him down over a round portal. Meanwhile, the other rebels reached Sato's corvette safely. After hearing Rex being tortured through the Force, Kanan decided to rescue Rex.
Before Admiral Titus could finish Rex off, Kanan entered the command bridge disguised as a stormtrooper and opened fire on Titus' men. After freeing Rex, the two men escaped on an escape pod and boarded Commander Sato's corvette. They attempted to flee into hyperspace but were again pulled out by the Imperial Interdictor. However, Chopper had rigged the Interdictor's gravity well projectors to draw in everything nearby including two escort light cruisers. These light cruisers crashed into the Interdictor; destroying it in a fiery explosion. Rex and the other rebels escaped into hyperspace in the nick of time. Following their escape, Commander Sato praised Rex, Kanan, and Ezra for rescuing him and his crew. Rex also thanked Kanan, who had finally overcome his animosity towards clone troopers. As a gesture of reconciliation, the two men saluted each other before they parted company.
Escape from Garel
Due to an accidental leak by Ezra Bridger on Takobo, the Seventh Sister and the Fifth Brother learned that the Phoenix rebel cell was hiding on Garel. The two Inquisitors informed their Imperial colleagues Agent Kallus and Admiral Kassius Konstantine, who sent an Imperial fleet from Lothal to attack Garel City. During the escape, Rex was with Commander Sato when their CR90 corvette was caught in the tractor beam of the Imperial Star Destroyer Relentless, Konstantine's ship. However, Phoenix Leader Hera freed Rex and Sato by using the Ghost to ram into the Star Destroyer's tractor beam projector. This enabled the remaining Phoenix rebel ships to escape into hyperspace.
Trouble at Concord Dawn
Rex was present during a meeting with Commander Sato and the crew of the Ghost to discuss the establishment of a new hyperspace route to the Lothal sector. With the Empire hunting them down throughout the Outer Rim, the rebels were in need of a new hyperspace route that would allow them to bypass Imperial forces. During the meeting, Sabine suggested that the rebels try penetrating the Concord Dawn system, which was home to a Mandalorian colony known as the Mandalorian Protectors. Rex advised his fellow rebels that the Mandalorians who inhabited the planet Concord Dawn had helped train clone troopers during the Clone Wars. At the end of the meeting, the rebels decided to send a diplomatic mission led by Hera, the leader of Phoenix Squadron, to negotiate for safe passage with the Protectors.
Hera's diplomatic mission failed since the Protectors led by Fenn Rau had aligned themselves with the Empire. Under Rau's orders, the Protectors' Gauntlet fighters engaged Hera's RZ-1 A-wing interceptors in a vicious dogfight above Concord Dawn. Several rebel A-wings were destroyed, and Hera was badly injured. Following the dogfight, Rex was present during a briefing where Sabine, one of the survivors, reported on the dogfight with Fenn Rau. Rex recalled that Rau had served as an instructor in the Grand Army of the Republic. With Commander Sato's permission, Kanan along with Chopper and Sabine took part in a mission to destroy the Protectors' starfighters on the third moon of Concord Dawn.
Mission to Geonosis
Rex accompanied the crew of the Ghost to investigate an Imperial construction module above the planet Geonosis. As a veteran of the Clone Wars and a participant of the second battle that took place on the planet, Rex was aware that Geonosis was home to billions of Geonosians. Thus, he was surprised when Chopper picked up no sign of life on the planet. Ezra then sensed through the Force that all life on Geonosis had been extinguished. Upon landing in the seemingly abandoned module, Rex stayed aboard the ship with Hera and Chopper while the other rebels went to explore the station. Shortly, they discovered that they had stumbled into a trap set by the Imperial Security Bureau Agent Kallus.
While Rex helped Hera to man the Ghost's defenses against Imperial All Terrain Defense Pod walkers, Chopper freed the other rebels by unlocking the blast doors from the control console. Rex and the other rebels escaped the Imperial module aboard the Ghost. However, Zeb was separated and escaped in an escape pod with Kallus. After escaping Imperial TIE fighters, Rex and his fellow rebels began looking for Zeb. Despite sweeping through the system, they were unable to find Zeb, which led Rex to remark that the Lasat had a slim chance of survival.
Meanwhile, Zeb and Kallus landed on Bahryn, one of Geonosis's moons. After working together to fight off Bonzami predators, the two struck an unlikely friendship. Zeb activated his transponder, and the crew of the Ghost rescued him. Rex and the other rebels except Chopper greeted Zeb at the ship's gangplank after landing on Bahryn.
Finding a new base
Later, Rex and several other rebels including Commander Sato, the Spectres, and Ketsu Onyo, Sabine's friend, attended a briefing aboard the rebels' captured Imperial fighter carrier to discuss their plans to set up a new rebel base. By cross-referencing several Republic and Lothalian star charts, the rebels had identified the planet Berzite's moon as a prospective candidate. Since the rebels' fighter carrier was low on fuel, Ketsu recommended stealing fuel from the Imperial depot at Horizon Base.
As a result of the meeting, Commander Sato sanctioned a mission by the Spectres to steal fuel from Horizon Base. Rex stayed aboard the rebel flagship during the Imperial attack on the Phoenix rebel fleet. After Chopper and the former Imperial inventory droid AP-5 relayed information about an Imperial trap in the Yost system, Rex accompanied the rest of the Phoenix rebel fleet to Atollon; a safe world with no Imperial presence.
Defending Chopper Base
Following the discovery of Atollon, Rex was placed in charge of the establishment of Chopper Base on the planet. From the base's command center, Rex commanded operations to deliver shipments to the base and to establish sensor beacons that would serve as warning beacons for intruders. While Rex found the planet hot, dry, and unpleasant, he conceded that there was nothing trying to kill them. Later, he and Wren ventured to the base's northern perimeter to investigate the disappearance of Lieutenant Dicer, who had disappeared after planting her sensor marker.
Under Hera's orders, Rex and Wren traveled there on the shuttle Phantom. Upon arriving, they found Dicer's helmet but saw no sign of the rebel. Soon, the two rebels were attacked by several large spidery creatures called krykna. Wren held off the creatures, but Rex was taken captive. The krykna carried him down to their underground lair where he was held in the mandibles of a sleeping krykna which hung suspended from the top of the cavern. Sabine and the Spectres freed him but were pursued back to the surface by the krykna.
Rex and his companions made it back to the Ghost, but the starship was held down by a large web woven by the krykna. As the rebels fought to break their way out of the web, Rex and Chopper aided in the defense of the ship by fighting off a krykna intruder trying to breach the rear hatch. While Rex kicked and pushed the creature out, Chopper closed the rear doors. After escaping the krykna, Rex suggested reporting to Commander Sato that the base was unsafe. However, Syndulla responded that they had poured much effort into finding the base and should not give up. At Jarrus's suggestion, the rebels erected a fence consisting of sensor markers around the base the following day.
While Rex remained on Atollon as the overseer of Chopper Base's operations, he kept in contact with Ahsoka Tano as she traveled with Bridger, Jarrus, and Chopper to the planet Malachor to seek answers on how to defeat the Sith. Holding Tano in high regard, Rex offered to come to her aid within two rotations. Tano declined the offer and reiterated that this mission was Jedi business. When Tano joked that she outranked Rex, he replied that experience always outranked everything. Tano replied that she had more experience than him due to her experiences during the Clone Wars and Jedi Purge. Rex remained at Chopper Base for the duration of the Jedi mission to Malachor.
In Rex's absence, the Jedi and Tano came into conflict with the Inquisitors and forged a tenuous alliance with the former Sith apprentice Maul to obtain a Sith holocron which purportedly contained the knowledge needed to defeat the Sith. After destroying the Inquisitors, Maul turned on the Jedi and blinded Kanan with his lightsaber. Later, the Sith Lord Darth Vader arrived, and the Jedi and Chopper managed to flee but Ahsoka chose to stay behind.
Following the mission, Rex and the other Spectres were present on the runway when the Phantom landed at Chopper Base. They watched in silence as Jarrus, now blind, and Bridger disembarked from the ship. When Rex saw that Tano was not with them, he bowed his head in sadness at the thought of having lost his good friend.
Heist at Reklam Station
After Ezra and his team rescued the Weequay pirate Hondo Ohnaka from the Imperial prison at Naraka, Rex attended a briefing where Hondo shared information on the Imperial floating junkyard Reklam Station inside the planet Yarma to the Phoenix rebels and Spectres. After Hondo revealed that the Imperials were dismantling Old Republic Y-wing starfighters there, Rex told his fellow rebels that the Y-wings were reliable combat fighters. In the end, the rebel leaders agreed to dispatch a recon mission to Reklam Station.
Rex accompanied Ezra's team and Hondo on the Phantom to Reklam Station. On the way, the rebels exited hyperspace at Sereeda Waypoint where they were intercepted by a Mining Guild patrol. After escaping the Mining Guild patrol, the rebel team continued their journey to Yarma. While traveling inside Yarma's gassy atmosphere, the Phantom was pursued by two Imperial DTS-series Dismantler Droids. While Chopper shot down one, Rex opened the Phantom's rear hatch and fought with the second dismantler droid. He almost fell out but was pulled back into the ship by Zeb. In the end, Rex managed to shoot the droid but the Phantom sustained damage. Fortunately for Rex and his team, Sabine regained control of the ship.
After parking the Phantom beneath the station, Rex and his team convinced the local Ugnaught laborers to help them steal the Y-wings in return for their freedom. After stopping the conveyor belt, Rex and the other rebels began refueling the starfighters. Rex commented that refueling the fighters would not be their first nor last complication. After the Imperial Commander Brom Titus activated the magnetic locks on the Y-wings, Rex and Ezra departed to attack the Imperial control tower. Rex was forced to return when a third dismantler droid attacked Chopper, Sabine, and Zeb.
Rex used a magnetic crane to trap the dismantler droid against a metal container before pushing it down into Yarma's volatile depths. The dismantler droid erupted in flames. After Ezra cut off the station's power, Rex and the other rebels departed on the Y-wings. Chopper used the relay navigation system to remotely pilot the other craft. Rex then traveled in the same Y-wing as Chopper, and the rebels escaped into the space above Yarma. The rebel Y-wings were intercepted by an Imperial Star Destroyer commanded by Governor Arihnda Pryce. However, they were saved when the Phoenix fleet arrived with the fighter-carrier Phoenix Nest and evacuated the fleet. Due to the efforts of Rex and his team, the Phoenix rebels obtained five Y-wings which were then transferred to General Jan Dodonna's unit.
Making peace with the past
The last battle
- "No... the war. It's not over!"
"Talk to me!"
"Ah, Kanan, I'm sorry, I thought you were someone else."
- ―Rex, to Kanan, after waking up from being stunned
Facing a shortage of supplies, Rex, Kanan, Ezra, Chopper, and Zeb traveled to Agamar to obtain proton bombs from a wrecked Separatist supply ship that had crashed on the planet during the Clone Wars. After landing on Agamar, Rex took the opportunity to tell the other rebels about his Clone Wars experiences. When Ezra opined that the B1 battle droids did not look dangerous, Rex responded that these droids had killed many of his friends. Rex and the other rebels soon found the munitions depot and discovered that it was full of proton bombs. Before they could proceed further, they were trapped in a ray shield and stunned by several battle droids led by B1-268.
After awakening, Rex and his fellow rebels found themselves prisoners of the super tactical droid Kalani. Kalani informed the rebels that he presumed the master control shutdown command issued to the Separatist Droid Army at the end of the war to be a Republic trick, and prevented it from disabling his battalion. Despite Rex insisting that the Clone Wars had ended and demanded that he and his friends be released. Kalani refused, stating that he would have one last battle; a victory for the Separatist Alliance. Zeb was the only one excluded from the battle on account that his species had not been involved in the Clone Wars. Though Rex, Kanan, and Zeb expressed their opposition to the war game, Ezra struck a bargain with Kalani. If the rebels made it back to the command center, Zeb would be free, and they would take all of the proton bombs in the hangar. Kalani accepted these terms, and the "simulation" began.
Unknown to the rebels or the Separatists, Chopper had evaded the battle droids and sent a distress call through a Neimoidian escort shuttle. However, the Empire picked up the distress signal, and Governor Pryce gave the order for the nearest Imperial fleet to deploy forces on Agamar to wipe out the rebels. Back outside the supply ship, Rex, Kanan, and Ezra began the "simulation" as a large force of battle droids marched on their position. Utilizing a "sword and shield" maneuver whereby Rex would fire and the Jedi would deflect incoming shots, as well as using two thermal detonators to wipe out large sections of the droid attack wave, the trio made short work of the first group of battle droids. They reached the hangar bay only to find that Kalani had deployed three droidekas to intercept them.
Unable to breach the droidekas' deflector shields, Rex and the rebels were forced to retreat. Rex and Kanan agreed to provide covering fire while Ezra headed into the hangar to collapse a catwalk over the droidekas. Ezra was delayed by an unexpected reunion with Chopper but still managed to collapse the catwalk with the Force. Meanwhile, Rex was hit in the chest by a blaster bolt from a battle droid but survived due to his clone trooper armor. While continuing their mission to the command bridge, they encountered Ezra. Rex chastised Ezra for his tardiness and warned him that one soldier's move affected everyone else in the team. In Rex's view, they needed discipline and strategy to succeed. Kanan counseled Ezra not to take the clone trooper's words personally because Rex was determined to finish the battle.
After Rex knocked out another droideka with his helmet, the rebels managed to enter Kalani's command center and declared victory. However, Kalani disagreed on technical grounds and prepared to execute Rex. Before any further violence could break out, Ezra interceded and convinced the two sides to put aside their differences. After Imperial forces landed on Agamar and attacked B1-268 and a battle droid patrol, Ezra won over Kalani to their side by pointing out that the Empire was the successor to the tyranny of the Old Republic. Kalani accepted Ezra's logic and agreed to help the rebels formulate an escape plan.
An unofficial end
- "No, it was a victory. We all just won the Clone War, and you ended it Ezra. A galaxy of senators couldn't do that. An army of Jedi, clones, and droids couldn't find the middle ground, but you did."
Working together, Kalani, Rex, and the rebels improvised a strategy that involved rolling the proton torpedoes onto the feet of the advancing Imperial AT-AT and AT-DP walkers. When Kalani admitted never attempting such a desperate strategy, Rex responded that was why the clone troopers won; prompting Kalani to reply "not always." After knocking out one of the AT-AT walkers, the rebels and droids fled aboard three Neimoidian escort shuttles while under fire from the Imperial walkers. One of the shuttles was shot down but the rebels' and Kalani's shuttles escaped into space.
Once in space, Rex and the rebels corresponded with Kalani by hologram. When Kalani opined that their joint effort was a successful strategy but not a victory, Rex opined that it was a victory and thanked Ezra for finding a middle ground that allowed the clones and droids to end the Clone Wars. Both Rex and Kalani also accepted Ezra's explanation that both sides could not win the Clone Wars. Despite departing on friendly terms, Kalani thought that the rebellion had a poor chance of success and parted for parts unknown. Rex and the other rebels were later contacted by Hera. Despite not obtaining the proton bombs, they acquired a new transport for the Ghost.
Evacuation of Mykapo
Rex and the Phoenix Squadron took part in a mission to evacuate rebel sympathizers from the planet Mykapo prior to an Imperial crackdown. After the Ghost and a local rebel cell called the Iron Squadron destroyed an Imperial advance patrol, Rex and the crew of a Sphyrna-class Hammerhead corvette evacuated the rebel sympathizers to safety. Rex contacted Hera and Kanan to inform them that he would be rendezvousing with the rebel fleet. Later, Rex corresponded with Hera and her crew by hologram while discussing a plan to rescue the Iron Squadron captain Mart Mattin from Imperial forces. This mission was ultimately successful, and Mart reunited with his uncle Commander Sato.
The spectre of Maul
Rex along with the Spectres and other members of Phoenix Squadron attended a briefing chaired by Hera Syndulla to discuss a planned strike against the Imperial Armory Complex on the planet Lothal. During the meeting, Ezra saw the former Sith apprentice Maul sneak past Rex. Using the dark side of the Force and Nightsister magick, Maul haunted Ezra and caused him to faint. As a result, Hera proceeded on the Lothal mission without Ezra.
Mission to Geonosis
Rex accompanied the crew of the Ghost on a mission to find Saw Gerrera and investigate the apparent disappearance of the Geonosian species on Geonosis at the request of Senator Bail Organa; a key ally of the rebellion. Rex explained to the Spectres that he and Saw had fought as allies during the Clone Wars. He also warned his fellow rebels to be worried about what Saw did not find on Geonosis. The rebels landed near the Geonosian structure that Saw had last entered before losing contact with Rebel Command.
While exploring an underground labyrinth, Rex along with Kanan, Ezra, and Chopper found several discarded helmets belonging to Saw's team. Kanan and Chopper wanted to leave but Ezra and Rex were determined to find Saw and to complete their mission. After reaching a dead-end, the rebels were cornered by several battle droids and a droideka. Before the battle droids could finish off the rebels, Saw arrived and eliminated most of them with a grenade.
After greeting his former comrade in arms, Rex and his fellow rebels agreed to help Saw find the lone Geonosian, who had ambushed and killed his group. Saw believed that the Geonosian held the key as to why the Empire had wiped out the entire population of Geonosis. Rex, the Spectres, and Saw eventually reached the central air shaft. After Kanan contacted Hera to warn about the operational battle droids, the rebels discovered the lone Geonosian on the other side of the shaft.
While Ezra and Chopper pursued the Geonosian, Kanan used the Force to levitate Rex and Saw on a stone bridge over to the other side. Following a protracted pursuit, Rex and his comrades captured the Geonosian. While Saw was hostile to the Geonosian due to his animosity towards the Separatists, Ezra befriended the Geonosian, who was nicknamed "Klik-Klak." While making their way to an energy reading picked up by Chopper, Rex explained that Saw was still affected by the death of his sister Steela at the hands of the Separatists.
The rebels soon discovered that the source of the energy reading was Klik-Klak's nest, which contained a working transmitter. While Rex and Chopper worked to establish contact with Hera, Saw and Ezra argued about Klik-Klak; who revealed that he was the custodian of the last Geonosian queen's egg. While Saw wanted to interrogate Klik-Klak offworld, Ezra insisted that Klik-Klak belonged on Geonosis since he was one of the few surviving members of his species. When Saw expressed his dislike for the Geonosians, Rex reminded him that his mission was to find out what had happened to the Geonosian species. In the end, Kanan brokered a compromise that involved bringing Klik-Klak to Chopper Base for interrogation and returning him to Geonosis once they had finished with him.
After establishing contact with Hera, the rebels arranged to rendezvous with her at the central air shaft. After boarding the Ghost, Rex and the Spectres became involved in an argument with Saw over the treatment of Klik-Klak. Saw broke his agreement with Kanan and demanded that the rebels let him leave with Klik-Klak and the Geonosian egg. During the argument, Saw electrocuted Klik-Klak with an electro-shock device, which prompted Ezra to lunge at him. Rex tried to restrain Saw but the other rebel knocked him to the ground. When Saw threatened to destroy the Geonosian queen egg, Rex reminded him that doing so would sully the memory of his sister.
The rebels' argument was interrupted by the arrival of an Arquitens-class command cruiser commanded by Captain Brunson. Rex and his fellow rebels and Saw joined forces to repel a boarding party of Jumptroopers. During the skirmish, Rex used the Ghost's laser cannon to blast several of the Jumptroopers. The Ghost then fled into the depths of Geonosis. There, the rebels and Saw discovered several Imperial poison canisters which the Empire had used to exterminate the Geonosians. Having found compelling evidence of the Imperial genocide, Saw experienced a change of heart and let Klik-Klak flee with the Geonosian queen egg into the depths of Geonosis.
The rebels fought their way out of the air shaft by blasting Brunson's light cruiser with proton torpedoes. They informed Senator Organa and Commander Sato about their successful rescue of Saw, their acquisition of a deflector core, and their discovery of the Imperial genocide against the Geonosians.
After the rebels learned that Grand Admiral Thrawn was monitoring the rogue ISB Agent Kallus's Fulcrum transmissions, Rex took part in a rebel mission to rescue Kallus before the Empire captured him. As part of the mission, Ezra, Chopper, and AP-5 stole a shuttle from the planet Lothal's Capital City spaceport and allowed themselves to be captured by Kallus' Imperial light cruiser, which was captained by Lieutenant Yogar Lyste. Disguised as stormtroopers, Rex and Kanan traveled in the Sentinel-class landing craft TY997 to Lyste's light cruiser to facilitate the extraction.
The rebel mission was complicated when Grand Admiral Thrawn requested an audience with Kallus and Lieutenant Lyste aboard his Imperial Star Destroyer Chimaera. After reaching the Chimaera, Chopper informed Rex and Kanan about the change of plans. While Rex expressed shock, Kanan told Chopper to get them a fresh set of coordinates for the Chimaera since their current coordinates would only work on the Imperial light cruiser. Chopper complied and obtained the new set of coordinates with the help of Kallus and Ezra.
After exiting hyperspace, Rex and Kanan discovered Thrawn's Seventh Fleet orbiting Lothal. When Kanan asked which ship, Rex told him to transmit the coordinates at random. TY997 was cleared for landing aboard the Chimaera. However, Thrawn had discovered that rebel infiltrators were aboard the shuttle and sent Governor Pryce to apprehend the intruders. Pryce saw through their stormtrooper disguises and ordered Rex and Kanan to surrender. When Kanan protested, Pryce stunned him.
Rex shot one of Pryce's stormtroopers before fighting hand to hand with the governor. Pryce overpowered Rex and knocked him to the ground. However, Lieutenant Lyste, mistaking Pryce for Fulcrum, stunned her. Before Lyste could attend to Rex, Kallus tackled him to the ground. Rex and his fellow rebels then fled aboard their landing craft. Kallus opted to stay behind in order to continue helping the rebellion. He also framed Lyste as Fulcrum in an effort to draw attention away from himself, but Thrawn was not fooled.
Alliance to Restore the Republic
Mon Mothma's speech
Rex along with Commander Sato and AP-5 were present at the Chopper Base command center when the former Imperial Senator Mon Mothma gave a live HoloNet speech denouncing the Empire and urging the galaxy to rise up in rebellion.
Ezra's errant mission
After Ezra Bridger heard Kanan Jarrus' holocron and the Malachor Sith holocron warning that the Jedi Master Obi-Wan Kenobi was in danger, Rex attended a meeting with Bridger, Commander Sato, and the other Spectres including Phoenix Leader Syndulla. During the meeting, Rex expressed sympathy for Bridger's desire to find Kenobi, but believed that Kenobi had perished, citing a report from Senator Bail Organa. Bridger disagreed and traveled with Chopper on a mission to find Kenobi. Bridger found that Kenobi was indeed alive and that Maul was no longer a problem, as Maul was finally killed by Kenobi shortly after meeting him.
Defending Chopper Base
Rex took part in the Battle of Atollon. Before the Phoenix Squadron and General Jan Dodonna's Massassi Group could launch a coordinate attack on the Imperial TIE Defender factories on Lothal, Grand Admiral Thrawn learned the location of Chopper Base and invaded the Atollon system. In response, Hera devised a plan to sneak Ezra and Chopper out of the system aboard the Gauntlet fighter Nightbrother while launching a frontal attack on Thrawn's Seventh Fleet. Prior to the battle, Zeb and Rex joked about hunting joopas with Rex remarking they were hard to hunt but tasty.
During the space battle, Rex and Zeb manned the guns aboard the Ghost. After Commander Sato sacrificed his life and command ship Phoenix Nest by ramming Admiral Konstantine's interdictor vessel, Ezra and Chopper escaped and sought reinforcements from Clan Wren. However, the rebel forces sustained heavy casualties at the hands of Thrawn's fleet and were forced to retreat to Atollon. Rex and Zeb managed to activate Sabine's prototype deflector shield generator, creating an umbrella above Chopper Base and the remaining rebel ships.
Despite the shield generator taking heavy damage, Rex and Zeb were pleased when the shields appeared to hold up. After Thrawn deployed ground forces, Dodonna theorized that Thrawn would send his forces through the narrow canyon leading to Chopper Base. Rex proposed guarding the passes, which Hera approved. Rex destroyed several of Thrawn's AT-DP walkers with detonators while Zeb destroyed the last one with a rocket launcher. However, the two rebels were forced to retreat when Thrawn deployed several AT-AT walkers, which were protected by shield generators.
After reuniting with Kanan, the three rebels fled into the caves under the Atollon Coral Mesa and fought Thrawn's death troopers and stormtroopers. After reuniting with Hera, General Dodonna, and AP-5, they tried to flee to the Ghost but were surrounded by Thrawn and his death troopers. Before Thrawn could take them prisoner, Kanan's mysterious friend Bendu, the enigmatic Force-wielder, unleashed a thunderstorm which devastated the base. Rex and his rebel comrades fled aboard the Ghost and joined the rebel fleet in space.
By that stage, Ezra had returned with Mandalorian reinforcements led by Sabine and Fenn Rau. The Mandalorians destroyed Thrawn's second interdictor cruiser, allowing the rebel remnants to flee into hyperspace. Under the orders of Hera, the rebel convoy set a course for Yavin 4. When AP-5 proposed doing two jumps to cover their tracks, Rex recommended a third jump.
The Massassi Group
Following the Battle of Atollon, Rex and the other surviving members of Phoenix Squadron joined the Massassi Group, a Rebel Alliance unit based on the jungle moon Yavin 4. Rex, several Spectres, and rebel ground crew were present at the airfield outside the Great Temple when Hera's squadron of Y-wings landed. Since the fighters had sustained damaged, the Y-wings including Hera's starfighter had trouble landing. Rex remained on Yavin 4 while the Specters undertook a mission to destroy the Imperial relay on Jalindi.
Later, Rex and the former Imperial Security Bureau Agent Alexsandr Kallus accompanied the Specters on an undercover mission to the Imperial-occupied planet of Lothal. Hera placed Rex in charge of looking after the Ghost while the Spectres infiltrated Lothal aboard Cikatro Vizago's freighter Broken Horn.
Following the Spectres' mission to the Lothal Jedi Temple, Rex accompanied Syndulla and Kallus on a trip to the planet Seelos to recruit several old friends of Ezra to assist in the liberation of Lothal. As the Ghost entered Seelos' atmosphere, Rex contacted his fellow Clone veterans Gregor and Wolffe; who had settled in a former AT-AT walker known as Joopa Base that was roaming G872.
At Joopa Base, Rex and his rebel comrades encountered Gregor, Wolffe, the Weequay pirate Hondo Ohnaka, his Ugnaught companion Melch, and the Mandalorian bounty hunter Ketsu Onyo. Rex, Hera, and Kallus recruited the group to participate in the liberation of Lothal as a favor to Ezra.
While traveling back to Lothal, the rebels waited in space at Hondo's suggestion to catch a ride on an Imperial Class four container transport. As they waited, Rex doubted that Ezra and the others could hold out against Governor Pryce's forces. Shortly, the container transport arrived, and the rebels latched the Ghost onto the ship. Upon arriving at the Lothal cliff dwelling, Rex along with Gregor, Wolffe, and Kallus helped the other Spectres and Ryder's rebel forces defeat Pryce's remaining troops and capture the Imperial Governor.
Captain Rex participated in an operation to infiltrate the "Dome" alongside Wolffe, Gregor, and multiple other allies. The center of Imperial power on Lothal, the Dome was a mobile Imperial Planetary Occupation Facility that was equipped with thrusters. The rebels used two captured patrol transports to fly to the Dome. For the operation, Rex disguised himself as a stormtrooper. During the flight, Rex reassured a skeptical Gregor that Ezra's plan would work because he was a Jedi.
With the help of an unwilling Governor Pryce, the rebels landed at the Dome's executive landing pad. Following a brief battle, the rebels captured the command center. With the help of Ryder Azadi, the rebels issued a faux Protocol 13 which caused the Imperial garrison on Lothal to evacuate aboard the Dome. Before the rebels could launch the mobile base, Grand Admiral Thrawn returned aboard the Chimaera and blocked their path. Since Thrawn's Noghri assassin Rukh and the Imperial forces had disabled the Dome's deflector shield generator, the Chimaera was able to bombard Capital City.
Ezra stopped the bombardment by offering to surrender himself. When Zeb proposed using the Dome's cannons to blast the Chimaera, Rex advised against it since their weaponry was no match for the Star Destroyer's firepower. Despite Rex and Hera's objections, Ezra escaped on a patrol transport and went up to face Thrawn aboard the Chimaera. In Ezra's absence, the rebels endorsed Sabine's plan to recapture the north and south power terminals in order to restart the Dome's shield generators.
Rex along with his fellow Team A members Hondo and Ketsu Onyo were assigned to the north power terminal. Despite fierce Imperial resistance, the rebels reached the north power terminal after Ketsu used a manual override to extend the bridges. Sabine also aided Rex's team by sealing a blast door so that they could proceed with their mission to reactive the power terminal. When Hondo's Ugnaught companion Melch arrived with a stormtrooper hot in pursuit, Rex shot the trooper. Rex was distraught when his Clone comrade Gregor was shot in the chest while taking part in the assault to secure the south tower. After restarting the north power terminal, Rex attended to his fallen comrade. Gregor told him it was a pleasure fighting alongside him for a greater cause before dying in his arms.
After Ezra summoned a pod of purrgil to carry him, Thrawn, and the Chimaera into uncharted space, Rex and the other rebels watched in shock in the command center. The rebels then launched the Dome into Lothal's upper atmosphere. As stormtroopers tried to storm the command center, Rex and the other rebels evacuated aboard the Ghost, which was being flown by Rex's fellow clone trooper Wolffe, Mart Mattin, and Cikatro Vizago. Once safely airborne, the rebels detonated the Dome, wiping out the Imperial garrison on Lothal and ending Imperial rule on the planet.
General Syndulla told Rex to bring out every star chart along Ezra's last known trajectory. However, they received a pre-recorded message by Ezra telling him that he made a difficult decision and thanking the Spectres for being his family. Rex warned that the Empire would return to the planet, an assessment shared by Kallus who hoped that the Rebel Alliance would finally send support. He and his allies decided to help defend Lothal but in addition to that, he continued to work with the Rebel Alliance with General Syndulla. Despite Rex's fears, the Empire never returned to Lothal.
Battle of Endor
- "Hera fought in the battle of Endor, as did Commander Rex."
- ―Sabine Wren reflecting on the fall of the Empire
In the years following the Battle of Atollon, Rex continued to serve in the Rebellion and work alongside its leaders. Rex, who had since been promoted to the rank of commander, served at the Battle of Endor, fighting to ensure Emperor Palpatine could never hurt his clone brothers, or anyone else, ever again. Indeed, the battle proved to be a major victory for the Rebel Alliance; in addition to the destruction of the DS-2 Death Star II Mobile Battle Station, Palpatine was killed by none other than Rex's former Jedi General, Anakin Skywalker, who redeemed himself back to the light side of the Force to save his son, Luke Skywalker. The man now formerly known as Darth Vader died shortly afterward, and Luke gave him a funeral on Endor.
- "Next you're going to tell me that you weren't planning to mention Captain Rex, Ahsoka, Ventress, Cad Bane, Savage Opress, Jar Jar, and the Mandalorians?"
"Well... I guess I could always go back and tell their stories later."
"Out of order?"
- ―A Whill, to another
Rex was remembered in the time after Galactic Civil War's Battle of Endor, and was mentioned by a member of the Whills, as someone to be remembered in galactic history. The Whill mentioned Rex and the others when they learned that the Whill tasked with writing about galactic history in the Journal of the Whills intended to start with the Galactic Civil War. The writer clarified Rex and the others' stories would be told, but the other Whill protested that it was being done out of order.
Personality and traits
Captain in the clone army
- "Sir, if I may address your accusation, I followed your orders. Even in the face of a plan, that was, in my opinion, severely flawed. A plan that cost us men. Not clones! Men! As sure as it is my duty to remain loyal to your command, I also have another duty. To protect those men."
- ―Rex, referring to his clone troopers as men, to General Krell on his role as captain
A legend amongst his clone brothers, Rex was a brave Clone Captain, and later a Clone Commander, until he shed his designation after Order 66. Rex was produced from the template of the bounty hunter Jango Fett. As with all of his fellow clone troopers, Rex lived to serve the Galactic Republic and to protect its citizens. While he was eager to follow orders, Rex adopted a less rigid approach as the Clone Wars wore on. During the Clone Wars, Rex would work alongside the Clone Commander Cody, the Jedi Generals Obi-Wan Kenobi and Anakin Skywalker, and the Jedi Padawan Ahsoka Tano. He was also loyal to his men, feeling that protecting them was one of his primary duties as a leader. He tried not to dwell on any of the deaths of his countless friends and brothers, but when he had reason to believe that his comrade Echo was alive, he clung on to this belief.
During the Clone Wars, Rex's priorities were first and foremost to his clone brothers, many of whom he loved deeply. He was disgusted by Clone Sergeant Slick's betrayal of the Republic during the Battle of Christophsis, and was greatly anguished having to defend himself and shoot his own men during the execution of Order 66. Rex was particularly close to Commander Cody, as well as ARC troopers Fives and Echo. He greatly mourned the sacrifice of clone trooper Hevy; despite not having known the clone for very long, Hevy made a significant impression on the captain. Rex was also devastated by Fives's death and the apparent death of Echo, whom he was determined to rescue when it was discovered that he was alive. At some point, a photograph was taken of Cody, Fives, Echo, and Rex, which Rex treasured greatly. He was close with many other members of the 501st as well, including clone medic Kix, ARC trooper Jesse, and troopers Hardcase and Tup, among others.
He was also close with Commando Gregor—whom he considered an old friend—and Commander Wolffe, living with the two of them for many years following the Clone Wars. However, despite his love for his brothers, when they were controlled by their inhibitor chips during Order 66, Rex was willing to kill them if it meant saving Ahsoka's life. It was not a decision Rex made lightly, with the Clone Officer crying at the thought that his brothers had been brainwashed to lay down their lives to kill him and Tano. Although in the end Ahsoka told him not to kill them, the clones were killed in the crash of the Tribunal, but Rex and Tano made sure to bury their bodies to honor their former friends.
Friend to the Jedi
Rex was very close with his Jedi General Anakin Skywalker during the Clone Wars, harboring deep respect and friendship for the man. The two trusted each other with their lives on a near-constant basis, and Skywalker even trusted Rex to know about his secret marriage and to act as lookout whenever he wished to talk to her via hologram. The two were close enough that friendly teasing was commonplace in their conversations. Rex trusted Skywalker despite some of his risky plans, noting that Skywalker always led from the front and appreciating his commitment to his troops.
Rex also developed a friendship and close bond with Skywalker's Padawan, Ahsoka Tano, even becoming a mentor to her by offering her advice and valuable leadership experience, teaching her that experience outranked everything. When Tano was framed for murder and treason, Rex doubted that she had committed the crimes, but followed the order to arrest her nonetheless. Despite this, the two would maintain a deep respect for each other after the Clone Wars. Rex and many of the other clones repainted their armor when Tano returned to their ranks shortly before the Siege of Mandalore. Although Tano told him that he did not have to refer to her as commander anymore since she had left the Jedi Order, Rex did so anyway.
When Order 66 was issued, Rex managed to resist his programing long enough to warn Ashoka, before succumbing to the order. Under the influence of order 66, Rex's goal was to kill Ashoka. However, after Ashoka had Rex's inhibitor chip removed, his loyalty to Ashoka returned, and he himself killed several of his own brothers to save her life. Unlike most of his brothers, he could at least resist order 66 for a short time. During the Age of the Empire, Rex would return a favor to his friend Tano by joining the rebellion. His knowledge of former Republic military bases, combat skills, and military tactics would help the rebellion in its fight against the Galactic Empire. He was devastated when he learned about her presumed death on Malachor.
Soldier without a Republic
Surviving the execution of Order 66, one of Rex's first priorities was to warn Cut Lawquane about the control chips before he made it his mission to fight the Empire. Even though he knew the government he had once served was gone, Rex believed elements of the Republic, like his clone brothers, still survived, convincing the captain to continue his life's mission to defend it. Nevertheless, he admitted to Hunter that he was still trying to find his place in the galaxy. Echo believed Rex's resistance allowed clones like them to be soldiers without serving the Empire. Upon learning that the Bad Batch had not removed their inhibitor chips, a concerned Rex warned them about what the chips do to the clones.
Although Hunter had promised his squad would help Rex whenever he needed it, Rex ensured he only contacted them in cases of extreme importance, such as the rescue of Gregor. Later in the Imperial Era, Rex was willing to stay out of affairs until he decided to join with the Rebellion. He recognized that the Rebels helped people in the galaxy, while he saw that the Empire brought pain to the lives of many.
Relationship with his fellow veterans
While Rex initially had a difficult relationship with the Jedi Purge survivor Kanan Jarrus and argued over strategies and Ezra Bridger's priorities, the two put aside their differences following a mission to rescue Ezra and Commander Jun Sato from an Imperial Interdictor. Rex was staunchly loyal to the Old Republic and refused to recognize the authority of the Galactic Empire after his inhibitor chip was removed by Tano. Rex's fortitude led him to resist torture at the hands of the Imperial officer Brom Titus. He also regarded Imperial stormtrooper armor as inferior to the clone trooper armor he wore during the Clone Wars. Especially compared to the other rebels, Rex was much more disciplined and by-the-book due to his military background.
Due to his Clone Wars experiences, Rex harbored a significant antipathy for battle droids. However, he had a friendly relationship with Anakin Skywalker's astromech R2-D2, and a respectful relationship with the Lothal rebel cell's astromech droid Chopper. Additionally, he showed respect and even some compassion toward a turncoat B1 battle droid nicknamed Bats during the Clone Wars. His animus towards battle droids led him to reject Kalani's demand that Rex and his Jedi comrades Jarrus and Bridger take part in a reenactment of the Clone Wars. As a clone trooper, Rex was bred to fight and wanted to finish his mission to destroy his battle-droid opponents. However, Bridger convinced Rex and Kalani to put aside their past differences in order to fight the Empire.
Rex harbored considerable respect and loyalty to his former Clone Wars comrade Saw Gerrera, whom he had first met during the Onderon campaign. While Rex was unwilling to abandon his former comrade, he still expressed discomfort with some of Gerrera's harsh methods including brutalizing the Geonosian captive Klik-Klak and threatening to destroy the last Geonosian queen egg. Still, Rex was empathetic to Gerrera's pain and realized that his comrade was still grieving the loss of his sister Steela. Rex's belief in the sanctity of life led him to fight with Saw when the latter threatened to destroy the last Geonosian queen egg.
Member of the Rebellion
Rex had a deep respect for Jedi Master Obi-Wan Kenobi due to their shared experiences during the Clone Wars. However, despite wanting to believe Kenobi was alive, he believed Bail Organa's word that the Jedi Master had perished. Rex was proven wrong when Bridger encountered Kenobi during an errant mission to Tatooine. Rex and his friend Zeb also had a sense of humor, even during the rebellion's difficult times. During the Battle of Atollon, they traded jokes about joopa and quipped about Sabine's prototype shield generator.
By the time that the Spectres returned to Lothal, Rex had become acquainted with his former Imperial foe Kallus. General Syndulla placed Rex in charge of looking after the Ghost in her absence. Rex used his knowledge of Gregor and Wolffe's whereabouts to help Ezra find them, Ketsu, Hondo, and Melch in order to recruit them for Ezra's mission to liberate Lothal. Rex later used his military experience and combat skills to help the rebels capture the Dome during the Liberation of Lothal. As a warrior, Rex believed that the rebels needed to be on guard should the Empire return to Lothal.
Skills and abilities
- "I know someone who might be able to help us. A great military commander with a vast knowledge of the Outer Rim. He could assist us in finding a base, and his experienced leadership would make him a powerful ally."
- ―Ahsoka Tano describes some of Rex's skills
Rex was a skilled military commander and a respected leader who won the respect of his men and peers. Due to his combat experience with battle droids, Rex was familiar with robolobotomy. While he was trained to wield firearms, Rex was also proficient in unarmed combat. Besides fighting droids and Imperials, Rex also had some experience dealing with the spider-like krykna which lived near Chopper Base, the Phoenix rebel base on Atollon. Rex also knew how to handle machinery and could fly a Y-wing starfighter with ease.
Rex put his combat and technical skills to good use when he escaped the Tribunal with Ahsoka Tano in a Y-wing bomber. Avoiding mediocre Imperial security on Raada, Tano understood that, if Rex were in charge of the operation, the security would be more effective; the stormtroopers were solely focused on patrolling the construction workers, while she knew Rex would have had his troops patrol through the streets, even if it made building more difficult. Lending the leadership skills he had developed in the clone army to the Rebel Alliance, Rex became a successful rebel. He also demonstrated his skills in a successful rebel operation to infiltrate and launch the Dome during the Liberation of Lothal.
- "Generation One armor always holds up."
- ―Rex, on his clone trooper armor
During the Clone Wars, Rex wore both Phase I and Phase II clone trooper armor with blue markings, eventually wearing a unique armor set composed of phase II with phase I elements welded on (most notably his phase I helmet visor). He also notably acquired ARC trooper armor before the Battle of Horain. Towards the end of the war, Rex utilized a jetpack—during the Battle of Yerbana and later in the Siege of Mandalore.
During the Imperial Era, Rex also took to wearing a cloak over his armor, allowing him to hide his face. His helmets were known for sporting Jaig Eyes, a Mandalorian symbol of honor. Rex used dual DC-17 blaster pistols in combat during the Clone Wars and continued to use them after the fall of the Republic.
Behind the scenes
Rex was created for the Star Wars: The Clone Wars film and television series, which ran from 2008 to 2013 on Cartoon Network, on Netflix in 2014, and on Disney+ in 2020. He was voiced by Dee Bradley Baker, who reprised his role in the second, third and fourth seasons of the Disney XD television series Star Wars Rebels. He has also appeared in several Star Wars Legends and non-canon media including the Dark Horse Comics Slaves of the Republic story arc and LEGO Star Wars III: The Clone Wars. Rex was incorrectly identified as CC-7567 in Star Wars: The Clone Wars: Character Encyclopedia - Join the Battle!.
According to the The Clone Wars film DVD commentary, the series' creators originally intended to use the Legends clone trooper Alpha-17 of the Star Wars: Republic comic book series as the series' prime clone character. However, Star Wars creator George Lucas objected to Alpha's inclusion as it would have made too much alliteration (Anakin, Artoo, Ahsoka, and Alpha), leading to the conception of Rex. Later in the commentary, Dave Filoni stated Rex's use of twin blaster pistols was a direct reference to clone template Jango Fett. Filoni claimed Rex was more like Jango than some of his fellow troopers.
Before the cancellation of The Clone Wars series, Brent Friedman wrote scripts for a four-episode arc starring Rex and R2-D2. A heated rivalry between the Clone Army's general ground forces and pilots and their droids would ultimately result in Rex flying a starfighter with R2 as his copilot. They would crash and be stranded together on one of the moons of Ryloth, where most of the episodes would take place. Rex and R2 reprogrammed a B2 super battle droid that they would grow attached to, and at some point, Rex was injured.
Dave Filoni speculated that Rex might be Nik Sant, one of the members of the Endor strike team from the 1983 film Star Wars: Episode VI Return of the Jedi. "I really do think that Rex is that guy on Endor," he said, "I really do. Why else is there a bearded old guy on Endor, Tano? Why? It makes no sense. If you don't want that to happen, do you know what that means? I'm gonna make that happen, I'm getting like Palpatine, I'm getting power crazy." The Rebels series finale, which aired on March 5, 2018, confirmed that Rex did fight in the Battle of Endor, though it did not confirm whether he and Sant were the same character. Six months after the episode's airing, Filoni revealed in an interview with IGN he ultimately chose to not canonize the theory because he felt that laying down an already established character prior to his coming to Star Wars wasn't correct, adding that Rex could have been present at Endor and not be Sant, even though some fans could choose to believe that Rex and Sant are the same individual while other choose to not do so. In 2019, Rex was depicted in recreations of shots from Return of the Jedi, as well as original shots, in the Star Wars Galaxy of Adventures short "Han Solo - From Smuggler to General." As Galaxy of Adventures is not meant to be a literal depiction of canon, no source has currently stated that they are the same character.