During the latest tour of duty, members of the Prince of Wales's Company worked closely with Afghan security forces in Nahr-e-Saraj District to suppress insurgents and help the Afghan troops to take the lead themselves.
The battalion lost three members during the tour including Carmarthen-born Lance Corporal Lee Davies, 27, who grew up in Cardigan.
Lance Corporal Davies died after being hit by small arms fire while on working as part of a police advisory team in the Lashkar Gah district of Helmand province in May last year.
Major Ed Launders, Prince of Wales's Company Commander, said: "The tour in Afghanistan was extremely tough, but made much easier through the abundant support of the people of Wales which carried us through.
"It is a tremendous honour and privilege to march through Carmarthen and to display our gratitude."
More top news
Commuters in Cardiff are facing major delays on the A4232 after a multi-vehicle accident between Culverhouse Cross and the M4.
Wasps have confirmed that Cardiff Blues head coach Danny Wilson will join their coaching coaching team for 2018/19 season.
The Bluebirds boss was sent from the touchline in the 78th minute by referee Steve Martin in the 2-2 draw at Reading.