Her Royal Highness Princess Maha Chakri Sirindhorn was discharged from Chulalongkorn Hospital on Thursday after surgery to remove calcium deposits from her chest.
The princess arrived at Sa Pathum Palace this morning amid cheers from well-wishers, who lined the route from hospital to her residence.
The operation was successfully carried out on Sunday.
A team of physicians said the princess is in good health with no complications. The results of the surgery were satisfactory, the princess' body temperature was normal, her appetite had returned normal and she had experienced no post-surgery complications.
The princess was advised to refrain from her royal duties and engagements for a period.
The Royal Household Bureau said on Wednesday the princess had been informed that many members of the public had expressed concern about her health and signed wishes for her speedy recovery.
She appreciated the wishes and thanked those who had sent them, it said. The public could sign good-health wishes for the princess until 6pm today.
Doctors found calcium deposits in the princess' chest during an annual medical check-up, leading to the December 17 surgery.