In a tweet, Mr Jaitley thanked his doctors, the nurses and paramedics who took care of him at the All India Institute of Medical Sciences (AIIMS).
Mr Jaitley, 65, was admitted to the hospital on May 12, and the surgery took place two days later. After the surgery, he spent some time in an isolation ward to avoid infection.
During his hospital stay, the senior minister wrote a Facebook post on four years of Prime Minister Narendra Modi's government.
When Mr Jaitley was in hospital, Railways Minister Piyush Goyal was given the additional charge of the finance ministry.
Delighted to be back at Home. My gratitude to the Doctors, Nursing officers and the paramedics who looked after me for over the past three weeks. I wish to thank all well-wishers, colleagues and friends who were very concerned and continued to wish me for my recovery.Arun Jaitley (@arunjaitley) June 4, 2018
In September 2014, Mr Jaitley had bariatrics surgery to treat weight gain because of a long-standing diabetic condition. The surgery was first performed at Max Hospital, but he had to be later shifted to AIIMS because of complications.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.