From 1841 to 1907 legionnaires from the 2nd Regiment were deployed in Algeria.

In the early twentieth century, France faced numerous incidents, attacks and looting by uncontrolled armed groups, in the newly occupied areas in the south of Oran (Algeria).
Under the command of General Lyautey, the French army's mission was to protect these areas newly seized in the west of Algeria, near the poorly defined Moroccan boundaries.

On 17 August 1903, the first battle of the South-Oranese campaign took place in Taghit, where French Foreign legionnaires were assailed by a contingent of more than 1,000 well-equipped Berbers.
For 3 days, the legionnaires repelled repeated attacks of an enemy more than 10 times higher in number, and inflicted huge losses on the attackers, forcing them finally into a hasty retreat.

A few months after the Battle of Taghit, 148 legionnaires of the 22nd mounted company, from the 2ème REI, commanded by Captain Vauchez and Lieutenant Selchauhansen, 20 spahis and two Mokhaznis were escorting a supply convoy, when they were ambushed at 9:30 am on 2 September by 3,000 Moroccans marauders.
The half-company had halted to eat, no sentries had been posted and only a few cavalry pickets had been placed.

The first volleys wounded or killed half of the detachment.
Both officers and most of the non-commissioned officers were killed in the first stage of the fight.
At 10:30 am, Quartermaster Sergeant (sergent-fourrier) Tisserand, who commanded the survivors, sent two spahi cavalrymen to Taghit for reinforcements.
They immediately left.

About forty survivors of the French force gathered on a nearby hill and under a scorching sun, on hot sand and without water, fought off the enemy for more than eight hours.
Near the end of the battle, Tisserand, wounded, gave over command to Corporal Detz; the highest-ranked man still able.
At 5 pm, they were relieved by Captain de Sulbielle, who rode from Taghit with his Spahis.
At the sight of the approaching French cavalry, the Moroccans retreated in small groups.

On November 1908; the Marching Regiment of the 2nd Foreign Regiment (R.M.2èmeR.E) was dissolved .

On August 7, 1914, following the outbreak of World War I; the 1st Marching Regiment of the 2nd Foreign Regiment (1er R.M.2èmeR.E) remained in Morocco with the formed combat company and the 2nd Marching Regiment of the 2nd Foreign Regiment (2èmeR.M.2èmeR.E) took arms at the fronts in mainland France; receiving 5 citations at the orders of the armed forces.
In September 1915, the 2nd Marching Regiment of the 2nd Foreign Regiment was dissolved and the components were merged with the 2nd Marching Regiment of the 1st Foreign Regiment to form the Marching Regiment of the Foreign Legion (R.M.L.E) created November 11, 1915.
During the interwar period, combat in Morocco persevered from 1919 to 1934 and the regiment received 7 citations at the orders of the armed forces.
From 1841 to 1907 legionnaires from the 2nd Regiment were deployed in Algeria.
In the early twentieth century, France faced numerous incidents, attacks and looting by uncontrolled armed groups, in the newly occupied areas in the south of Oran (Algeria). Under the command of General Lyautey, the French army's mission was to protect these areas newly seized in the west of Algeria, near the poorly defined Moroccan boundaries.
On 17 August 1903, the first battle of the South-Oranese campaign took place in Taghit, where French Foreign legionnaires were assailed by a contingent of more than 1,000 well-equipped Berbers. For 3 days, the legionnaires repelled repeated attacks of an enemy more than 10 times higher in number, and inflicted huge losses on the attackers, forcing them finally into a hasty retreat.
A few months after the Battle of Taghit, 148 legionnaires of the 22nd mounted company, from the 2ème REI, commanded by Captain Vauchez and Lieutenant Selchauhansen, 20 spahis and two Mokhaznis were escorting a supply convoy, when they were ambushed at 9:30 am on 2 September by 3,000 Moroccans marauders. The half-company had halted to eat, no sentries had been posted and only a few cavalry pickets had been placed.
The first volleys wounded or killed half of the detachment. Both officers and most of the non-commissioned officers were killed in the first stage of the fight. At 10:30 am, Quartermaster Sergeant (sergent-fourrier) Tisserand, who commanded the survivors, sent two spahi cavalrymen to Taghit for reinforcements. They immediately left.
About forty survivors of the French force gathered on a nearby hill and under a scorching sun, on hot sand and without water, fought off the enemy for more than eight hours. Near the end of the battle, Tisserand, wounded, gave over command to Corporal Detz; the highest-ranked man still able. At 5 pm, they were relieved by Captain de Sulbielle, who rode from Taghit with his Spahis. At the sight of the approaching French cavalry, the Moroccans retreated in small groups.
On November 1908; the Marching Regiment of the 2nd Foreign Regiment (R.M.2èmeR.E) was dissolved . 
On August 7, 1914, following the outbreak of World War I; the 1st Marching Regiment of the 2nd Foreign Regiment (1er R.M.2èmeR.E) remained in Morocco with the formed combat company and the 2nd Marching Regiment of the 2nd Foreign Regiment (2èmeR.M.2èmeR.E) took arms at the fronts in mainland France; receiving 5 citations at the orders of the armed forces. In September 1915, the 2nd Marching Regiment of the 2nd Foreign Regiment was dissolved and the components were merged with the 2nd Marching Regiment of the 1st Foreign Regiment to form the Marching Regiment of the Foreign Legion (R.M.L.E) created November 11, 1915. During the interwar period, combat in Morocco persevered from 1919 to 1934 and the regiment received 7 citations at the orders of the armed forces.
2nd Foreign Infantry Regiment