The Duchess of Sussex donned a headscarf and a floor length maxi-dress for a visit to a mosque in Bo-Kaap, Cape Town.
Meghan changed out of the casual clothes she wore for an earlier trip to Monwabisi Beach on Tuesday.
The Duke of Sussex and former Suits star Meghan met faith leaders at the Auwal Mosque, the first and oldest mosque in South Africa.
Meghan follows a long line of royals pictured covering their heads as they carried out visits at home and abroad, including Harry’s late mother Diana, Princess of Wales, the Duchess of Cambridge and the Queen.
It is the first time the duchess has been seen in a traditional headscarf during public royal duties.
Meghan teamed her khaki gown, thought to be the £260 Millie dress by Staud, with Sam Edelman “Sally” Pointed Toe flats in oatmeal suede, costing £80.
Later on a walkabout, Meghan, without her headscarf, wore a purple flower in her hair.
Then for the final engagement of the day – a garden reception staged in the grounds of the Cape Town residence of Nigel Casey, British High Commissioner to South Africa – Meghan chose a striped maxi dress with thin straps by Melbourne-based Martin Grant.
She was first seen in the outfit on Bondi Beach in Sydney during her tour with Harry in Australia last year.
The couple arrived at the event holding hands after presumably putting their baby son Archie to bed.
Among the guests were female township leaders, young entrepreneurs, water crisis responders, fashion industry representatives and Commonwealth and Chevening scholars.
At the beginning of their second day of engagements on Tuesday, the duke and duchess had heard about the work of the NGO Waves for Change, which trains and supports local surf mentors to provide mental health services to youngsters in need.
The American former actress opted for a casual look with a white shirt at Monwabisi Beach, with her Le Specs Bandwagon sunglasses tucked in the front, a cropped denim jacket with sleeves rolled up, and black skinny jeans.
Her hair was up in a bun, but the windy weather meant she had to re-adjust a few loose strands behind her ears as she arrived.
Meghan’s Madewell denim jacket in Pinter Wash with metallic buttons costs around £112.
Her tan shoes were her Brother Vellies Huaraches Flats in Whiskey, which are priced at £156, and are already mostly out of stock.
Brother Vellies, which is based in New York, was created by designer Aurora James to represent James’s favourite traditional African footwear and create jobs within the continent.
Each product is handmade by local artisans in countries including South Africa, Kenya and Morocco using techniques and styles passed down from generation to generation.
Meghan carried a £74 Madewell medium Transport Tote bag in khaki-coloured British Surplus, at times wearing the tan leather strap across her body.
Harry was in a dark shirt tucked into beige trousers, with matching trainers.