Xi wore the jacket over his white shirt when he visited the Sabarmati Ashram, once the abode of Father of the Nation Mahatma Gandhi.
The Chinese President and Modi spent a few minutes at Hriday Kunj in the Ashram, where Xi operated the 'charkha' (spinning wheel).
Xi and the First Lady later visited the Sabarmati riverfront and were accompanied by the Prime Minister.
They witnessed glimpses of Gujarati culture.
The President and his wife also sat on a traditional cot, before joining Modi for a private dinner on the riverfront.