L/Cpl James Brynin, who served with the 14th Signal Regiment (Electronic Warfare), was shot while on patrol in Helmand Province on 15 October.
The 22-year-old, who was born in Shoreham-by-Sea, West Sussex, joined the Army in February 2011 and entered the Intelligence Corps.
He was repatriated via RAF Brize Norton in Oxfordshire.
L/Cpl Brynin worked as an intelligence analyst and had been selected for promotion to corporal when his patrol was attacked in Kakaran, north east of Lashkar Gah.
L/Cpl Brynin, known as Jay, received immediate medical attention but died from his injuries at the scene.
After his initial training, he was posted to 14th Signal Regiment (Electronic Warfare), which is based at Cawdor Barracks in Pembrokeshire, and had already served a tour in Afghanistan in 2012.
He returned to Afghanistan this August as an intelligence analyst working for a light electronic warfare team (LEWT) within the Brigade Reconnaissance Force (BRF) of 7th Armoured Brigade.
In a tribute, L/Cpl Brynin's family said: "Heart of a lion, we will always stand strong for you. We will never forget. Rest in peace."
Lt Col Mark Purves, commanding officer 14th Signal Regiment (Electronic Warfare), said: "Bright and engaging, Lance Corporal Brynin was immensely popular and an outstanding soldier in every respect.
"Having already completed one tour to Afghanistan, his appointment to support the Brigade Reconnaissance Force was indicative of his talent and leadership qualities.
"He was fit, determined and genuinely wanted to make a difference."

Rankin suffered cramp in his sole Test appearance against Australia in January 2014 then dropped out of favour with the country he switched to in 2012.
"I'm grateful to England for the chance to play Test cricket," said Rankin, 31.
"But with few opportunities in the last two years, I felt it was time to move on at this stage of my career. I'm delighted to be returning for Ireland."
He met with Cricket Ireland last week to seal what is a timely comeback given the imminent World Twenty20 in India.
Rankin's last appearance for England was on 17 January 2014, making him eligible under ICC regulations to play again for Ireland on 18 January 2016.
The Londonderry-born player will therefore be available for the InterContinental Cup match with Papua New Guinea in Australia from 31 January to 3 February and then the ICC World Twenty20 in March.
He made the last of his 82 appearances for Ireland during the 2012 World Twenty20 in Sri Lanka, taking 112 wickets at an average of 24.12 before appearing for England 11 times between 2013 and 2014.
"There's a real opportunity for Ireland to get Test status now, and that prospect was a real lure for me - I'd love to be part of history," he added.
A soldier who was killed while on patrol in Afghanistan has been repatriated to the UK.
[NEXT_CONCEPT]
Warwickshire bowler Boyd Rankin will play for Ireland in the World Twenty20 after switching back from England.